Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
interface-go-dms3-core
Commits
26985dbe
Commit
26985dbe
authored
Oct 09, 2018
by
Łukasz Magiera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
coreapi unixfs: remove Cat, use sessions
License: MIT Signed-off-by:
Łukasz Magiera
<
magik6k@gmail.com
>
parent
72215597
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
unixfs.go
unixfs.go
+0
-4
No files found.
unixfs.go
View file @
26985dbe
...
@@ -31,10 +31,6 @@ type UnixfsAPI interface {
...
@@ -31,10 +31,6 @@ type UnixfsAPI interface {
// to operations performed on the returned file
// to operations performed on the returned file
Get
(
context
.
Context
,
Path
)
(
files
.
File
,
error
)
Get
(
context
.
Context
,
Path
)
(
files
.
File
,
error
)
// Cat returns a reader for the file
// TODO: Remove in favour of Get (if we use Get on a file we still have reader directly, so..)
Cat
(
context
.
Context
,
Path
)
(
Reader
,
error
)
// Ls returns the list of links in a directory
// Ls returns the list of links in a directory
Ls
(
context
.
Context
,
Path
)
([]
*
ipld
.
Link
,
error
)
Ls
(
context
.
Context
,
Path
)
([]
*
ipld
.
Link
,
error
)
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment