Browse Source

some comments

pull/914/head
Chris Lu 6 years ago
parent
commit
07775998a9
  1. 2
      weed/shell/command_fs_tree.go

2
weed/shell/command_fs_tree.go

@ -76,7 +76,7 @@ func treeTraverseDirectory(ctx context.Context, writer io.Writer, client filer_p
}
for i, entry := range resp.Entries {
// 0.1% wrong prefix here, but fixing it would need to paginate to the next batch first
isLast := paginatedCount < paginateSize && i == paginatedCount-1
fmt.Fprintf(writer, "%s%s\n", prefix.getPrefix(level, isLast), entry.Name)

Loading…
Cancel
Save