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
1f3adf35
Commit
1f3adf35
authored
Mar 24, 2017
by
Jeromy
Committed by
Jakub Sztandera
Apr 20, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bubble up updates from go-multihash changes
License: MIT Signed-off-by:
Jeromy
<
jeromyj@gmail.com
>
parent
12d16cb5
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
11 additions
and
11 deletions
+11
-11
archive/archive.go
archive/archive.go
+1
-1
archive/tar/writer.go
archive/tar/writer.go
+1
-1
hamt/hamt.go
hamt/hamt.go
+1
-1
io/dagreader.go
io/dagreader.go
+1
-1
io/dirbuilder.go
io/dirbuilder.go
+1
-1
io/resolve.go
io/resolve.go
+1
-1
mod/dagmodifier.go
mod/dagmodifier.go
+2
-2
mod/dagmodifier_test.go
mod/dagmodifier_test.go
+1
-1
test/utils.go
test/utils.go
+2
-2
No files found.
archive/archive.go
View file @
1f3adf35
...
...
@@ -11,7 +11,7 @@ import (
tar
"github.com/ipfs/go-ipfs/unixfs/archive/tar"
uio
"github.com/ipfs/go-ipfs/unixfs/io"
node
"gx/ipfs/Qm
YDscK7dmdo2GZ9aumS8s5auUUAH5mR1jvj5pYhWusfK7
/go-ipld-
node
"
node
"gx/ipfs/Qm
b3Hm9QDFmfYuET4pu7Kyg8JV78jFa1nvZx5vnCZsK4ck
/go-ipld-
format
"
)
// DefaultBufSize is the buffer size for gets. for now, 1MB, which is ~4 blocks.
...
...
archive/tar/writer.go
View file @
1f3adf35
...
...
@@ -13,8 +13,8 @@ import (
uio
"github.com/ipfs/go-ipfs/unixfs/io"
upb
"github.com/ipfs/go-ipfs/unixfs/pb"
node
"gx/ipfs/QmYDscK7dmdo2GZ9aumS8s5auUUAH5mR1jvj5pYhWusfK7/go-ipld-node"
proto
"gx/ipfs/QmZ4Qi3GaRbjcx28Sme5eMH7RQjGkt8wHxt2a65oLaeFEV/gogo-protobuf/proto"
node
"gx/ipfs/Qmb3Hm9QDFmfYuET4pu7Kyg8JV78jFa1nvZx5vnCZsK4ck/go-ipld-format"
)
// Writer is a utility structure that helps to write
...
...
hamt/hamt.go
View file @
1f3adf35
...
...
@@ -31,8 +31,8 @@ import (
format
"github.com/ipfs/go-ipfs/unixfs"
upb
"github.com/ipfs/go-ipfs/unixfs/pb"
node
"gx/ipfs/QmYDscK7dmdo2GZ9aumS8s5auUUAH5mR1jvj5pYhWusfK7/go-ipld-node"
proto
"gx/ipfs/QmZ4Qi3GaRbjcx28Sme5eMH7RQjGkt8wHxt2a65oLaeFEV/gogo-protobuf/proto"
node
"gx/ipfs/Qmb3Hm9QDFmfYuET4pu7Kyg8JV78jFa1nvZx5vnCZsK4ck/go-ipld-format"
"gx/ipfs/QmfJHywXQu98UeZtGJBQrPAR6AtmDjjbe3qjTo9piXHPnx/murmur3"
)
...
...
io/dagreader.go
View file @
1f3adf35
...
...
@@ -10,8 +10,8 @@ import (
ft
"github.com/ipfs/go-ipfs/unixfs"
ftpb
"github.com/ipfs/go-ipfs/unixfs/pb"
node
"gx/ipfs/QmYDscK7dmdo2GZ9aumS8s5auUUAH5mR1jvj5pYhWusfK7/go-ipld-node"
proto
"gx/ipfs/QmZ4Qi3GaRbjcx28Sme5eMH7RQjGkt8wHxt2a65oLaeFEV/gogo-protobuf/proto"
node
"gx/ipfs/Qmb3Hm9QDFmfYuET4pu7Kyg8JV78jFa1nvZx5vnCZsK4ck/go-ipld-format"
)
var
ErrIsDir
=
errors
.
New
(
"this dag node is a directory"
)
...
...
io/dirbuilder.go
View file @
1f3adf35
...
...
@@ -9,7 +9,7 @@ import (
format
"github.com/ipfs/go-ipfs/unixfs"
hamt
"github.com/ipfs/go-ipfs/unixfs/hamt"
node
"gx/ipfs/Qm
YDscK7dmdo2GZ9aumS8s5auUUAH5mR1jvj5pYhWusfK7
/go-ipld-
node
"
node
"gx/ipfs/Qm
b3Hm9QDFmfYuET4pu7Kyg8JV78jFa1nvZx5vnCZsK4ck
/go-ipld-
format
"
)
// ShardSplitThreshold specifies how large of an unsharded directory
...
...
io/resolve.go
View file @
1f3adf35
...
...
@@ -7,7 +7,7 @@ import (
ft
"github.com/ipfs/go-ipfs/unixfs"
hamt
"github.com/ipfs/go-ipfs/unixfs/hamt"
node
"gx/ipfs/Qm
YDscK7dmdo2GZ9aumS8s5auUUAH5mR1jvj5pYhWusfK7
/go-ipld-
node
"
node
"gx/ipfs/Qm
b3Hm9QDFmfYuET4pu7Kyg8JV78jFa1nvZx5vnCZsK4ck
/go-ipld-
format
"
)
func
ResolveUnixfsOnce
(
ctx
context
.
Context
,
ds
dag
.
DAGService
,
nd
node
.
Node
,
name
string
)
(
*
node
.
Link
,
error
)
{
...
...
mod/dagmodifier.go
View file @
1f3adf35
...
...
@@ -15,9 +15,9 @@ import (
uio
"github.com/ipfs/go-ipfs/unixfs/io"
logging
"gx/ipfs/QmSpJByNKFX1sCsHBEp3R73FL4NF6FnQTEGyNAXHm2GS52/go-log"
cid
"gx/ipfs/QmV5gPoRsjN1Gid3LMdNZTyfCtP2DsvqEbMAmz82RmmiGk/go-cid"
node
"gx/ipfs/QmYDscK7dmdo2GZ9aumS8s5auUUAH5mR1jvj5pYhWusfK7/go-ipld-node"
cid
"gx/ipfs/QmYhQaCYEcaPPjxJX7YcPcVKkQfRy6sJ7B3XmGFk82XYdQ/go-cid"
proto
"gx/ipfs/QmZ4Qi3GaRbjcx28Sme5eMH7RQjGkt8wHxt2a65oLaeFEV/gogo-protobuf/proto"
node
"gx/ipfs/Qmb3Hm9QDFmfYuET4pu7Kyg8JV78jFa1nvZx5vnCZsK4ck/go-ipld-format"
)
var
ErrSeekFail
=
errors
.
New
(
"failed to seek properly"
)
...
...
mod/dagmodifier_test.go
View file @
1f3adf35
...
...
@@ -19,7 +19,7 @@ import (
context
"context"
ds
"gx/ipfs/QmRWDav6mzWseLWeYfVd5fvUKiVe9xNH29YfMF438fG364/go-datastore"
"gx/ipfs/QmRWDav6mzWseLWeYfVd5fvUKiVe9xNH29YfMF438fG364/go-datastore/sync"
u
"gx/ipfs/Qm
ZuY8aV7zbNXVy6DyN9SmnuH3o9nG852F4aTiSBpts8d1
/go-ipfs-util"
u
"gx/ipfs/Qm
Wbjfz3u6HkAdPh34dgPchGbQjob6LXLhAeCGii2TX69n
/go-ipfs-util"
)
func
getMockDagServAndBstore
(
t
testing
.
TB
)
(
mdag
.
DAGService
,
blockstore
.
Blockstore
)
{
...
...
test/utils.go
View file @
1f3adf35
...
...
@@ -14,8 +14,8 @@ import (
mdagmock
"github.com/ipfs/go-ipfs/merkledag/test"
ft
"github.com/ipfs/go-ipfs/unixfs"
node
"gx/ipfs/Qm
YDscK7dmdo2GZ9aumS8s5auUUAH5mR1jvj5pYhWusfK7/go-ipld-node
"
u
"gx/ipfs/Qm
ZuY8aV7zbNXVy6DyN9SmnuH3o9nG852F4aTiSBpts8d1/go-ipfs-util
"
u
"gx/ipfs/Qm
Wbjfz3u6HkAdPh34dgPchGbQjob6LXLhAeCGii2TX69n/go-ipfs-util
"
node
"gx/ipfs/Qm
b3Hm9QDFmfYuET4pu7Kyg8JV78jFa1nvZx5vnCZsK4ck/go-ipld-format
"
)
func
SizeSplitterGen
(
size
int64
)
chunk
.
SplitterGen
{
...
...
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