mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-08-06 01:37:25 +08:00
Add StatDir and replace com.StatDir (#14099)
* Add StatDir and replace com.StatDir * a nit * Remove wrong file Co-authored-by: 6543 <6543@obermui.de>
This commit is contained in:
@ -79,7 +79,7 @@ func loadRepoConfig() {
|
||||
log.Fatal("Failed to get custom %s files: %v", t, err)
|
||||
}
|
||||
if isDir {
|
||||
customFiles, err := com.StatDir(customPath)
|
||||
customFiles, err := util.StatDir(customPath)
|
||||
if err != nil {
|
||||
log.Fatal("Failed to get custom %s files: %v", t, err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user