diff options
Diffstat (limited to 'models/repo/update.go')
-rw-r--r-- | models/repo/update.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/repo/update.go b/models/repo/update.go index cc21deb0bc..3d538a4454 100644 --- a/models/repo/update.go +++ b/models/repo/update.go @@ -185,7 +185,7 @@ func ChangeRepositoryName(doer *user_model.User, repo *Repository, newRepoName s return committer.Commit() } -// UpdateRepoSize updates the repository size, calculating it using util.GetDirectorySize +// UpdateRepoSize updates the repository size, calculating it using getDirectorySize func UpdateRepoSize(ctx context.Context, repoID, size int64) error { _, err := db.GetEngine(ctx).ID(repoID).Cols("size").NoAutoTime().Update(&Repository{ Size: size, |