fix LIST log output
This commit is contained in:
parent
9e2acd491b
commit
725c5d0f14
@ -43,7 +43,7 @@ func main() {
|
||||
switch *m {
|
||||
case "LIST", "PROPFIND":
|
||||
if files, err := c.ReadDir(path); err == nil {
|
||||
fmt.Println(fmt.Sprintf("ReadDir: %s, entries: ", path, len(files)))
|
||||
fmt.Println(fmt.Sprintf("ReadDir: '%s' entries: %d ", path, len(files)))
|
||||
for _, f := range files {
|
||||
fmt.Println(f)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user