diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-03-16 02:59:26 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-03-16 02:59:26 -0700 |
| commit | 69694a17be1ef8817d9afb3a1265e605298e7ab3 (patch) | |
| tree | dc4cd3de99e6c7baa2ce696be6dcbe59feb556ac /weed/filer/filechunks.go | |
| parent | c00dd5e62ed72e42545d6b74dd6073b84c722743 (diff) | |
| download | seaweedfs-69694a17be1ef8817d9afb3a1265e605298e7ab3.tar.xz seaweedfs-69694a17be1ef8817d9afb3a1265e605298e7ab3.zip | |
reverting 7d57664c2d80f2b7d3eb4cecc57a3275bafee44d
Diffstat (limited to 'weed/filer/filechunks.go')
| -rw-r--r-- | weed/filer/filechunks.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/weed/filer/filechunks.go b/weed/filer/filechunks.go index 542754e3b..68f308a51 100644 --- a/weed/filer/filechunks.go +++ b/weed/filer/filechunks.go @@ -23,10 +23,6 @@ func TotalSize(chunks []*filer_pb.FileChunk) (size uint64) { return } -func FileSize2(entry *Entry) (size uint64) { - return maxUint64(TotalSize(entry.Chunks), entry.Attr.FileSize) -} - func FileSize(entry *filer_pb.Entry) (size uint64) { return maxUint64(TotalSize(entry.Chunks), entry.Attributes.FileSize) } |
