aboutsummaryrefslogtreecommitdiff
path: root/weed/command/filer_export.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2018-11-21 15:12:47 -0800
committerChris Lu <chris.lu@gmail.com>2018-11-21 15:12:47 -0800
commit2f2e417b683c99a3bab5bab18db5ef28f930622c (patch)
treeaecdd9d14c5dd077431e7730ce7c365b45bedf9e /weed/command/filer_export.go
parentb282e34dc2933c71929b1d9297c44b1598344a1f (diff)
downloadseaweedfs-2f2e417b683c99a3bab5bab18db5ef28f930622c.tar.xz
seaweedfs-2f2e417b683c99a3bab5bab18db5ef28f930622c.zip
detailed export
Diffstat (limited to 'weed/command/filer_export.go')
-rw-r--r--weed/command/filer_export.go12
1 files changed, 11 insertions, 1 deletions
diff --git a/weed/command/filer_export.go b/weed/command/filer_export.go
index c1a5dce7f..8a709ed1f 100644
--- a/weed/command/filer_export.go
+++ b/weed/command/filer_export.go
@@ -169,6 +169,16 @@ func printout(level int, entry *filer2.Entry) error {
print("| ")
}
}
- println(entry.FullPath.Name())
+ print(entry.FullPath.Name())
+ for _, chunk:=range entry.Chunks{
+ print("[")
+ print(chunk.FileId)
+ print(",")
+ print(chunk.Offset)
+ print(",")
+ print(chunk.Size)
+ print(")")
+ }
+ println()
return nil
}