We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3881828 commit 8eaff5aCopy full SHA for 8eaff5a
services/repository/files/file.go
@@ -20,7 +20,7 @@ import (
20
21
func GetContentsListFromTrees(ctx context.Context, repo *repo_model.Repository, branch string, treeNames []string) ([]*api.ContentsResponse, error) {
22
files := []*api.ContentsResponse{}
23
- var size int64 = 0
+ var size int64
24
for _, file := range treeNames {
25
fileContents, err := GetContents(ctx, repo, file, branch, false)
26
if err != nil {
0 commit comments