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
go-merkledag
Commits
7c7036e0
Commit
7c7036e0
authored
Aug 31, 2017
by
Jeromy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
various fixes for /ipfs fuse code
License: MIT Signed-off-by:
Jeromy
<
jeromyj@gmail.com
>
parent
57fbb422
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
merkledag.go
merkledag.go
+4
-1
No files found.
merkledag.go
View file @
7c7036e0
...
@@ -153,7 +153,10 @@ type sesGetter struct {
...
@@ -153,7 +153,10 @@ type sesGetter struct {
func
(
sg
*
sesGetter
)
Get
(
ctx
context
.
Context
,
c
*
cid
.
Cid
)
(
node
.
Node
,
error
)
{
func
(
sg
*
sesGetter
)
Get
(
ctx
context
.
Context
,
c
*
cid
.
Cid
)
(
node
.
Node
,
error
)
{
blk
,
err
:=
sg
.
bs
.
GetBlock
(
ctx
,
c
)
blk
,
err
:=
sg
.
bs
.
GetBlock
(
ctx
,
c
)
if
err
!=
nil
{
switch
err
{
case
bserv
.
ErrNotFound
:
return
nil
,
ErrNotFound
default
:
return
nil
,
err
return
nil
,
err
}
}
...
...
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