mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-02 17:20:53 +02:00
bug fixed
This commit is contained in:
1 parent
b27e8e87f8
commit
d80f43ca81
2 files changed
+5
-5
No files matched your search
+2
-2
@@ -305,11 +305,11 @@ func GetReposFiles(userName, reposName, branchName, rpath string) ([]*RepoFile,
|
||||
if rpath != "" {
|
||||
rpath = rpath + "/"
|
||||
}
|
||||
fmt.Println("...", rpath, "...")
|
||||
//fmt.Println("...", rpath, "...")
|
||||
|
||||
tree.Walk(func(dirname string, entry *git.TreeEntry) int {
|
||||
if dirname == rpath {
|
||||
fmt.Println("====", dirname, "==", entry.Name)
|
||||
//fmt.Println("====", dirname, "==", entry.Name)
|
||||
repofiles = append(repofiles, &RepoFile{
|
||||
entry.Id,
|
||||
entry.Filemode,
|
||||
|
||||
Reference in new issue
Block a user