提交 c05b4f06 作者: Juan Batiz-Benet

fuse/ipfs: remove ReadAll

上级 fcf7f0e7
......@@ -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
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论