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-unixfs
Commits
165f19fa
Commit
165f19fa
authored
Jan 24, 2015
by
Matt Bell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
core/commands: get: Place files at root of TAR when using a multi-element ipfs path
parent
04f92118
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
tar/reader.go
tar/reader.go
+2
-1
No files found.
tar/reader.go
View file @
165f19fa
...
@@ -51,7 +51,8 @@ func NewReader(path string, dag mdag.DAGService, resolver *path.Resolver, compre
...
@@ -51,7 +51,8 @@ func NewReader(path string, dag mdag.DAGService, resolver *path.Resolver, compre
// writeToBuf will write the data to the buffer, and will signal when there
// writeToBuf will write the data to the buffer, and will signal when there
// is new data to read
// is new data to read
go
reader
.
writeToBuf
(
dagnode
,
path
,
0
)
_
,
filename
:=
p
.
Split
(
path
)
go
reader
.
writeToBuf
(
dagnode
,
filename
,
0
)
return
reader
,
nil
return
reader
,
nil
}
}
...
...
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