This commit is contained in:
Van 2014-08-31 17:01:27 +08:00
parent 8eb51f5cc4
commit 979e46bef6
2 changed files with 3 additions and 3 deletions

@ -1 +1 @@
Subproject commit 5ce253230630fedff4a65ef2fc6d5ae7bebfe6fa
Subproject commit 3bfdc20dda8a23066e0a2d16beced44d10914e05

View File

@ -25,9 +25,9 @@ func GetFiles(w http.ResponseWriter, r *http.Request) {
data := map[string]interface{}{"succ": true}
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