mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-08 12:02:56 +02:00
remove unused code
This commit is contained in:
1 file changed
-5
@@ -126,8 +126,3 @@ func CreateRepoFile(ctx context.Context, repo Repository, relativeFilePath strin
|
|||||||
}
|
}
|
||||||
return os.Create(absoluteFilePath)
|
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)
|
|
||||||
}
|
|
||||||
Reference in new issue
Block a user