aboutsummaryrefslogtreecommitdiff
path: root/weed/filer/filechunks.go
diff options
context:
space:
mode:
authorKonstantin Lebedev <lebedev_k@tochka.com>2021-03-16 15:29:49 +0500
committerKonstantin Lebedev <lebedev_k@tochka.com>2021-03-16 15:29:49 +0500
commiteb54993a4eacffde48007bb3bcc46b664d38c403 (patch)
tree1ef3f4cd86f9772631496a193bdeb62e25e780de /weed/filer/filechunks.go
parent06da02739d4a97dd8288f7fa05de7cd369e97d78 (diff)
parent9672f9e1b2ed399470e6ec877a667417c8b26870 (diff)
downloadseaweedfs-eb54993a4eacffde48007bb3bcc46b664d38c403.tar.xz
seaweedfs-eb54993a4eacffde48007bb3bcc46b664d38c403.zip
Merge branch 'upstreamMaster' into check_chunkviews_mr
# Conflicts: # weed/filer/filechunk_manifest.go # weed/filer/stream.go # weed/replication/repl_util/replication_util.go # weed/util/fasthttp_util.go
Diffstat (limited to 'weed/filer/filechunks.go')
-rw-r--r--weed/filer/filechunks.go4
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)
}