This commit is contained in:
parent
8eb51f5cc4
commit
979e46bef6
|
@ -1 +1 @@
|
||||||
Subproject commit 5ce253230630fedff4a65ef2fc6d5ae7bebfe6fa
|
Subproject commit 3bfdc20dda8a23066e0a2d16beced44d10914e05
|
|
@ -25,9 +25,9 @@ func GetFiles(w http.ResponseWriter, r *http.Request) {
|
||||||
data := map[string]interface{}{"succ": true}
|
data := map[string]interface{}{"succ": true}
|
||||||
|
|
||||||
root := FileNode{"projects", userRepos, "d", []*FileNode{}}
|
root := FileNode{"projects", userRepos, "d", []*FileNode{}}
|
||||||
fileInfo, _ := os.Lstat(conf.Wide.Repos)
|
fileInfo, _ := os.Lstat(userRepos)
|
||||||
|
|
||||||
walk(conf.Wide.Repos, fileInfo, &root)
|
walk(userRepos, fileInfo, &root)
|
||||||
|
|
||||||
data["root"] = root
|
data["root"] = root
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue