Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'internal/gitlab/client.go')
-rw-r--r--internal/gitlab/client.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/internal/gitlab/client.go b/internal/gitlab/client.go
index 093f818a2..6c99c9ddc 100644
--- a/internal/gitlab/client.go
+++ b/internal/gitlab/client.go
@@ -16,7 +16,11 @@ type AllowedParams struct {
// For example, `project-19` specifies the code repository of project with id 19
// and `wiki-19` specifies the wiki repository of the same project.
GLRepository string
- // GLID is an identifier of the repository.
+ // GLID is the identifier of the actor performing the operation.
+ //
+ // This value is opaque to Gitaly but is formatted as `<type>-<value>`. For example,
+ // 'user-13' specifies the operation was performed by user with ID 13. If username of
+ // user 13 is 'exampleuser', GLID 'username-exampleuser' would identify the same user.
GLID string
// GLProtocol is a protocol used for operation.
GLProtocol string