mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
some comments
This commit is contained in:
parent
53b81fcfcd
commit
07775998a9
|
@ -76,7 +76,7 @@ func treeTraverseDirectory(ctx context.Context, writer io.Writer, client filer_p
|
||||||
}
|
}
|
||||||
|
|
||||||
for i, entry := range resp.Entries {
|
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
|
isLast := paginatedCount < paginateSize && i == paginatedCount-1
|
||||||
fmt.Fprintf(writer, "%s%s\n", prefix.getPrefix(level, isLast), entry.Name)
|
fmt.Fprintf(writer, "%s%s\n", prefix.getPrefix(level, isLast), entry.Name)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue