diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2020-12-22 07:40:57 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-22 07:40:57 +0800 |
commit | acd5e5a868c2c158132b4017f318943d1e6c573f (patch) | |
tree | d7e440a5add88a6779f605c82fa6e9085ebd424d /models | |
parent | f8fd8996c090a02fe482587ccf03a319459fc704 (diff) | |
download | gitea-acd5e5a868c2c158132b4017f318943d1e6c573f.tar.gz gitea-acd5e5a868c2c158132b4017f318943d1e6c573f.zip |
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>
Diffstat (limited to 'models')
-rw-r--r-- | models/repo.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/repo.go b/models/repo.go index 3df850a3ba..d791b6cbd2 100644 --- a/models/repo.go +++ b/models/repo.go @@ -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) } |