@cryptotaxi247 / kubo / commits / c05b4f06f

fuse/ipfs: remove ReadAll

Juan Batiz-Benet committed Jan 29, 2015 at 16:05 UTC c05b4f06f058b9438cfc7a67b8bbac879b38fc8b
1 file changed -8
fuse/readonly/readonly_unix.go
-8
@@ -185,11 +185,3 @@ func (s *Node) Read(req *fuse.ReadRequest, resp *fuse.ReadResponse, intr fs.Intr
185 lm["req_size"] = n
186 return err // may be non-nil / not succeeded
187 }
188 -
189 -// // ReadAll reads the object data as file data
190 -// func (s *Node) ReadAll(intr fs.Intr) ([]byte, fuse.Error) {
191 -// // this is a terrible function... 'ReadAll'?
192 -// // what if i have a 6TB file? GG RAM.
193 -// return ioutil.ReadAll(r)
194 -// }
195 -// GG RAM alright... -jbenet