diff options
Diffstat (limited to 'services/repository/files/temp_repo.go')
-rw-r--r-- | services/repository/files/temp_repo.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/services/repository/files/temp_repo.go b/services/repository/files/temp_repo.go index 2223e1c8f..e731b608f 100644 --- a/services/repository/files/temp_repo.go +++ b/services/repository/files/temp_repo.go @@ -42,6 +42,11 @@ func NewTemporaryUploadRepository(ctx context.Context, repo *repo_model.Reposito return t, nil } +// BasePath function +func (t *TemporaryUploadRepository) BasePath() string { + return t.basePath +} + // Close the repository cleaning up all files func (t *TemporaryUploadRepository) Close() { defer t.gitRepo.Close() |