aboutsummaryrefslogtreecommitdiff
path: root/go/operation
diff options
context:
space:
mode:
authortnextday <fw2k4@163.com>2015-12-15 00:14:02 +0800
committertnextday <fw2k4@163.com>2015-12-15 00:14:02 +0800
commitb177afc3263f5f33f2182f58c6156b4d77115a0b (patch)
tree15fb8beadcd0c7fb5fe1ed99b2ae7d635bd65d5b /go/operation
parentaa44028b468674e252316a88a3b62f895b97e898 (diff)
downloadseaweedfs-b177afc3263f5f33f2182f58c6156b4d77115a0b.tar.xz
seaweedfs-b177afc3263f5f33f2182f58c6156b4d77115a0b.zip
`weed download` command use stream download the large file.
Diffstat (limited to 'go/operation')
-rw-r--r--go/operation/chunked_file.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/go/operation/chunked_file.go b/go/operation/chunked_file.go
index 5d7f99176..70564cbd2 100644
--- a/go/operation/chunked_file.go
+++ b/go/operation/chunked_file.go
@@ -83,10 +83,6 @@ func (cm *ChunkManifest) DeleteChunks(master string) error {
return nil
}
-//func (cm *ChunkManifest) StoredHelper() error {
-// return nil
-//}
-
func readChunkNeedle(fileUrl string, w io.Writer, offset int64) (written int64, e error) {
req, err := http.NewRequest("GET", fileUrl, nil)
if err != nil {