diff options
author | Chai-Shi <changchaishi@gmail.com> | 2024-12-31 12:22:09 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-31 04:22:09 +0000 |
commit | 0387195abb82080b4c488966960f25a3e8c6fe66 (patch) | |
tree | 794cf1e7705002236a33af563729284b48a303c5 /modules/util | |
parent | c09656e0e0384b15405f909a0e7d7e94a373448e (diff) | |
download | gitea-0387195abb82080b4c488966960f25a3e8c6fe66.tar.gz gitea-0387195abb82080b4c488966960f25a3e8c6fe66.zip |
[Feature] Private README.md for organization (#32872)
Implemented #29503
---------
Co-authored-by: Ben Chang <ben_chang@htc.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'modules/util')
-rw-r--r-- | modules/util/path.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/util/path.go b/modules/util/path.go index 1272f5af2e..d4594947c9 100644 --- a/modules/util/path.go +++ b/modules/util/path.go @@ -203,6 +203,7 @@ func statDir(dirPath, recPath string, includeDir, isDirOnly, followSymlinks bool // // Slice does not include given path itself. // If subdirectories is enabled, they will have suffix '/'. +// FIXME: it doesn't like dot-files, for example: "owner/.profile.git" func StatDir(rootPath string, includeDir ...bool) ([]string, error) { if isDir, err := IsDir(rootPath); err != nil { return nil, err |