mirror of
https://github.com/go-gitea/gitea.git
synced 2026-02-16 12:15:18 +01:00
remove unused code
This commit is contained in:
parent
68bb75168a
commit
500fbe2c48
@ -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)
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user