From c05b4f06f058b9438cfc7a67b8bbac879b38fc8b Mon Sep 17 00:00:00 2001 From: Juan Batiz-Benet Date: Thu, 29 Jan 2015 16:05:00 -0800 Subject: [PATCH] fuse/ipfs: remove ReadAll --- fuse/readonly/readonly_unix.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/fuse/readonly/readonly_unix.go b/fuse/readonly/readonly_unix.go index acf72172e..e2de27905 100644 --- a/fuse/readonly/readonly_unix.go +++ b/fuse/readonly/readonly_unix.go @@ -185,11 +185,3 @@ func (s *Node) Read(req *fuse.ReadRequest, resp *fuse.ReadResponse, intr fs.Intr lm["req_size"] = n return err // may be non-nil / not succeeded } - -// // ReadAll reads the object data as file data -// func (s *Node) ReadAll(intr fs.Intr) ([]byte, fuse.Error) { -// // this is a terrible function... 'ReadAll'? -// // what if i have a 6TB file? GG RAM. -// return ioutil.ReadAll(r) -// } -// GG RAM alright... -jbenet