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

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfeistel <6742251-feistel@users.noreply.gitlab.com>2021-11-08 18:16:04 +0300
committerfeistel <6742251-feistel@users.noreply.gitlab.com>2021-11-08 18:27:31 +0300
commit87788a7d6f1b6a5d85a633939da71b3957eed5f3 (patch)
tree29549bd9108ed6ea92759b93a8237e4d62f830f5 /internal
parentf053d95a86f9789cb4ea084b0d3ba7c78ca62b4f (diff)
refactor: add file_count and file_size to lookup_path source
Diffstat (limited to 'internal')
-rw-r--r--internal/source/gitlab/api/lookup_path.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/source/gitlab/api/lookup_path.go b/internal/source/gitlab/api/lookup_path.go
index 09934055..834767bd 100644
--- a/internal/source/gitlab/api/lookup_path.go
+++ b/internal/source/gitlab/api/lookup_path.go
@@ -14,4 +14,6 @@ type Source struct {
Type string `json:"type,omitempty"`
Path string `json:"path,omitempty"`
SHA256 string `json:"sha256,omitempty"`
+ Count int `json:"file_count,omitempty"`
+ Size int `json:"file_size,omitempty"`
}