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
ad004dbf
Commit
ad004dbf
authored
Sep 06, 2017
by
Jeromy Johnson
Committed by
GitHub
Sep 06, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4194 from ipfs/feat/fuse-fixes
various fixes for /ipfs fuse code
parents
d9c5d7df
3e73bba8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
merkledag.go
merkledag.go
+6
-1
No files found.
merkledag.go
View file @
ad004dbf
...
...
@@ -153,8 +153,13 @@ type sesGetter struct {
func
(
sg
*
sesGetter
)
Get
(
ctx
context
.
Context
,
c
*
cid
.
Cid
)
(
node
.
Node
,
error
)
{
blk
,
err
:=
sg
.
bs
.
GetBlock
(
ctx
,
c
)
if
err
!=
nil
{
switch
err
{
case
bserv
.
ErrNotFound
:
return
nil
,
ErrNotFound
default
:
return
nil
,
err
case
nil
:
// noop
}
return
node
.
Decode
(
blk
)
...
...
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