0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-02-16 03:43:36 +01:00

remove unused code

This commit is contained in:
Lunny Xiao 2026-01-02 18:55:32 -08:00
parent 68bb75168a
commit 500fbe2c48
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A

View File

@ -126,8 +126,3 @@ func CreateRepoFile(ctx context.Context, repo Repository, relativeFilePath strin
}
return os.Create(absoluteFilePath)
}
func MkRepoDir(ctx context.Context, repo Repository, relativeDirPath string) error {
absoluteDirPath := filepath.Join(repoPath(repo), relativeDirPath)
return os.MkdirAll(absoluteDirPath, os.ModePerm)
}