fix directory creation, directory listing

This commit is contained in:
Chris Lu
2018-05-19 12:07:15 -07:00
parent e31c514b00
commit ab4ddb1e0e
4 changed files with 17 additions and 7 deletions

View File

@@ -48,6 +48,8 @@ func (fs *FilerServer) listDirectoryHandler(w http.ResponseWriter, r *http.Reque
lastFileName = entries[len(entries)-1].Name()
}
glog.V(4).Infof("listDirectory %s, last file %s, limit %d: %d items", path, lastFileName, limit, len(entries))
args := struct {
Path string
Entries interface{}