mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-18 17:17:55 +08:00
refactor filer_pb.Entry and filer.Entry to use GetChunks()
for later locking on reading chunks
This commit is contained in:
@@ -93,7 +93,7 @@ func (c *commandFsLs) Do(args []string, commandEnv *CommandEnv, writer io.Writer
|
||||
dir = dir[:len(dir)-1]
|
||||
}
|
||||
fmt.Fprintf(writer, "%s %3d %s %s %6d %s/%s\n",
|
||||
fileMode, len(entry.Chunks),
|
||||
fileMode, len(entry.GetChunks()),
|
||||
userName, groupName,
|
||||
filer.FileSize(entry), dir, entry.Name)
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user