@cryptotaxi247 / kubo / commits / 278701f8d

coreapi unixfs: remove Cat, use sessions

License: MIT Signed-off-by: Łukasz Magiera <magik6k@gmail.com> This commit was moved from ipfs/interface-go-ipfs-core@26985dbeb71dc2999d2640c301cc88b2e1e56b72 This commit was moved from ipfs/boxo@83af9fbde0491d60155e511ad14d2e20068fd753

Łukasz Magiera committed Oct 9, 2018 at 18:57 UTC 278701f8d1c35e7b6541e739a98e639060e4a29c
1 file changed -4
core/coreiface/unixfs.go
-4
@@ -31,10 +31,6 @@ type UnixfsAPI interface {
31 // to operations performed on the returned file
32 Get(context.Context, Path) (files.File, error)
33
34 - // Cat returns a reader for the file
35 - // TODO: Remove in favour of Get (if we use Get on a file we still have reader directly, so..)
36 - Cat(context.Context, Path) (Reader, error)
37 -
34 // Ls returns the list of links in a directory
35 Ls(context.Context, Path) ([]*ipld.Link, error)
36 }