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
515a114b
Commit
515a114b
authored
Feb 09, 2019
by
Łukasz Magiera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update imports
parent
6595d290
Changes
21
Hide whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
31 additions
and
30 deletions
+31
-30
block.go
block.go
+1
-1
coreapi.go
coreapi.go
+1
-1
dht.go
dht.go
+1
-1
key.go
key.go
+1
-1
name.go
name.go
+1
-1
object.go
object.go
+1
-1
options/name.go
options/name.go
+1
-1
pin.go
pin.go
+1
-1
pubsub.go
pubsub.go
+1
-1
tests/api.go
tests/api.go
+1
-1
tests/block.go
tests/block.go
+2
-2
tests/dag.go
tests/dag.go
+1
-1
tests/dht.go
tests/dht.go
+2
-2
tests/key.go
tests/key.go
+2
-2
tests/name.go
tests/name.go
+2
-2
tests/object.go
tests/object.go
+2
-2
tests/path.go
tests/path.go
+2
-2
tests/pin.go
tests/pin.go
+2
-2
tests/pubsub.go
tests/pubsub.go
+3
-2
tests/unixfs.go
tests/unixfs.go
+2
-2
unixfs.go
unixfs.go
+1
-1
No files found.
block.go
View file @
515a114b
...
...
@@ -4,7 +4,7 @@ import (
"context"
"io"
options
"github.com/ipfs/
go-ipfs/core/coreapi/interfac
e/options"
options
"github.com/ipfs/
interface-go-ipfs-cor
e/options"
)
// BlockStat contains information about a block
...
...
coreapi.go
View file @
515a114b
...
...
@@ -5,7 +5,7 @@ package iface
import
(
"context"
"github.com/ipfs/
go-ipfs/core/coreapi/interfac
e/options"
"github.com/ipfs/
interface-go-ipfs-cor
e/options"
ipld
"gx/ipfs/QmRL22E4paat7ky7vx9MLpR97JHHbFPrg3ytFQw6qp1y1s/go-ipld-format"
)
...
...
dht.go
View file @
515a114b
...
...
@@ -3,7 +3,7 @@ package iface
import
(
"context"
"github.com/ipfs/
go-ipfs/core/coreapi/interfac
e/options"
"github.com/ipfs/
interface-go-ipfs-cor
e/options"
peer
"gx/ipfs/QmPJxxDsX2UbchSHobbYuvz7qnyJTFKvaKMzE2rZWJ4x5B/go-libp2p-peer"
pstore
"gx/ipfs/QmQFFp4ntkd4C14sP3FaH9WJyBuetuGUVo6dShNHvnoEvC/go-libp2p-peerstore"
...
...
key.go
View file @
515a114b
...
...
@@ -3,7 +3,7 @@ package iface
import
(
"context"
options
"github.com/ipfs/
go-ipfs/core/coreapi/interfac
e/options"
options
"github.com/ipfs/
interface-go-ipfs-cor
e/options"
"gx/ipfs/QmPJxxDsX2UbchSHobbYuvz7qnyJTFKvaKMzE2rZWJ4x5B/go-libp2p-peer"
)
...
...
name.go
View file @
515a114b
...
...
@@ -4,7 +4,7 @@ import (
"context"
"errors"
options
"github.com/ipfs/
go-ipfs/core/coreapi/interfac
e/options"
options
"github.com/ipfs/
interface-go-ipfs-cor
e/options"
)
var
ErrResolveFailed
=
errors
.
New
(
"could not resolve name"
)
...
...
object.go
View file @
515a114b
...
...
@@ -4,7 +4,7 @@ import (
"context"
"io"
options
"github.com/ipfs/
go-ipfs/core/coreapi/interfac
e/options"
options
"github.com/ipfs/
interface-go-ipfs-cor
e/options"
cid
"gx/ipfs/QmR8BauakNcBa3RbE4nbQu76PDiJgoQgz8AJdhJuiU4TAw/go-cid"
ipld
"gx/ipfs/QmRL22E4paat7ky7vx9MLpR97JHHbFPrg3ytFQw6qp1y1s/go-ipld-format"
...
...
options/name.go
View file @
515a114b
...
...
@@ -3,7 +3,7 @@ package options
import
(
"time"
ropts
"github.com/ipfs/
go-ipfs/core/coreapi/interfac
e/options/namesys"
ropts
"github.com/ipfs/
interface-go-ipfs-cor
e/options/namesys"
)
const
(
...
...
pin.go
View file @
515a114b
...
...
@@ -3,7 +3,7 @@ package iface
import
(
"context"
options
"github.com/ipfs/
go-ipfs/core/coreapi/interfac
e/options"
options
"github.com/ipfs/
interface-go-ipfs-cor
e/options"
)
// Pin holds information about pinned resource
...
...
pubsub.go
View file @
515a114b
...
...
@@ -4,7 +4,7 @@ import (
"context"
"io"
options
"github.com/ipfs/
go-ipfs/core/coreapi/interfac
e/options"
options
"github.com/ipfs/
interface-go-ipfs-cor
e/options"
peer
"gx/ipfs/QmPJxxDsX2UbchSHobbYuvz7qnyJTFKvaKMzE2rZWJ4x5B/go-libp2p-peer"
)
...
...
tests/api.go
View file @
515a114b
...
...
@@ -6,7 +6,7 @@ import (
"testing"
"time"
coreiface
"github.com/ipfs/
go-ipfs/core/coreapi/interfac
e"
coreiface
"github.com/ipfs/
interface-go-ipfs-cor
e"
)
var
apiNotImplemented
=
errors
.
New
(
"api not implemented"
)
...
...
tests/block.go
View file @
515a114b
...
...
@@ -6,8 +6,8 @@ import (
"strings"
"testing"
coreiface
"github.com/ipfs/
go-ipfs/core/coreapi/interfac
e"
opt
"github.com/ipfs/
go-ipfs/core/coreapi/interfac
e/options"
coreiface
"github.com/ipfs/
interface-go-ipfs-cor
e"
opt
"github.com/ipfs/
interface-go-ipfs-cor
e/options"
mh
"gx/ipfs/QmerPMzPk1mJVowm8KgmoknWa4yCYvvugMPsgWmDNUvDLW/go-multihash"
)
...
...
tests/dag.go
View file @
515a114b
...
...
@@ -7,7 +7,7 @@ import (
"strings"
"testing"
coreiface
"github.com/ipfs/
go-ipfs/core/coreapi/interfac
e"
coreiface
"github.com/ipfs/
interface-go-ipfs-cor
e"
ipld
"gx/ipfs/QmRL22E4paat7ky7vx9MLpR97JHHbFPrg3ytFQw6qp1y1s/go-ipld-format"
ipldcbor
"gx/ipfs/QmRZxJ7oybgnnwriuRub9JXp5YdFM9wiGSyRq38QC7swpS/go-ipld-cbor"
...
...
tests/dht.go
View file @
515a114b
...
...
@@ -5,8 +5,8 @@ import (
"io"
"testing"
"github.com/ipfs/
go-ipfs/core/coreapi/interfac
e"
"github.com/ipfs/
go-ipfs/core/coreapi/interfac
e/options"
"github.com/ipfs/
interface-go-ipfs-cor
e"
"github.com/ipfs/
interface-go-ipfs-cor
e/options"
)
func
(
tp
*
provider
)
TestDht
(
t
*
testing
.
T
)
{
...
...
tests/key.go
View file @
515a114b
...
...
@@ -5,8 +5,8 @@ import (
"strings"
"testing"
"github.com/ipfs/
go-ipfs/core/coreapi/interfac
e"
opt
"github.com/ipfs/
go-ipfs/core/coreapi/interfac
e/options"
"github.com/ipfs/
interface-go-ipfs-cor
e"
opt
"github.com/ipfs/
interface-go-ipfs-cor
e/options"
)
func
(
tp
*
provider
)
TestKey
(
t
*
testing
.
T
)
{
...
...
tests/name.go
View file @
515a114b
...
...
@@ -11,8 +11,8 @@ import (
ipath
"gx/ipfs/QmQ3YSqfxunT5QBg6KBVskKyRE26q6hjSMyhpxchpm7jEN/go-path"
"gx/ipfs/QmaXvvAVAQ5ABqM5xtjYmV85xmN5MkWAZsX9H9Fwo4FVXp/go-ipfs-files"
coreiface
"github.com/ipfs/
go-ipfs/core/coreapi/interfac
e"
opt
"github.com/ipfs/
go-ipfs/core/coreapi/interfac
e/options"
coreiface
"github.com/ipfs/
interface-go-ipfs-cor
e"
opt
"github.com/ipfs/
interface-go-ipfs-cor
e/options"
)
func
(
tp
*
provider
)
TestName
(
t
*
testing
.
T
)
{
...
...
tests/object.go
View file @
515a114b
...
...
@@ -8,8 +8,8 @@ import (
"strings"
"testing"
"github.com/ipfs/
go-ipfs/core/coreapi/interfac
e"
opt
"github.com/ipfs/
go-ipfs/core/coreapi/interfac
e/options"
"github.com/ipfs/
interface-go-ipfs-cor
e"
opt
"github.com/ipfs/
interface-go-ipfs-cor
e/options"
)
func
(
tp
*
provider
)
TestObject
(
t
*
testing
.
T
)
{
...
...
tests/path.go
View file @
515a114b
...
...
@@ -6,8 +6,8 @@ import (
"strings"
"testing"
coreiface
"github.com/ipfs/
go-ipfs/core/coreapi/interfac
e"
"github.com/ipfs/
go-ipfs/core/coreapi/interfac
e/options"
coreiface
"github.com/ipfs/
interface-go-ipfs-cor
e"
"github.com/ipfs/
interface-go-ipfs-cor
e/options"
ipldcbor
"gx/ipfs/QmRZxJ7oybgnnwriuRub9JXp5YdFM9wiGSyRq38QC7swpS/go-ipld-cbor"
)
...
...
tests/pin.go
View file @
515a114b
...
...
@@ -6,8 +6,8 @@ import (
"strings"
"testing"
"github.com/ipfs/
go-ipfs/core/coreapi/interfac
e"
opt
"github.com/ipfs/
go-ipfs/core/coreapi/interfac
e/options"
"github.com/ipfs/
interface-go-ipfs-cor
e"
opt
"github.com/ipfs/
interface-go-ipfs-cor
e/options"
ipld
"gx/ipfs/QmRL22E4paat7ky7vx9MLpR97JHHbFPrg3ytFQw6qp1y1s/go-ipld-format"
ipldcbor
"gx/ipfs/QmRZxJ7oybgnnwriuRub9JXp5YdFM9wiGSyRq38QC7swpS/go-ipld-cbor"
...
...
tests/pubsub.go
View file @
515a114b
...
...
@@ -2,10 +2,11 @@ package tests
import
(
"context"
"github.com/ipfs/go-ipfs/core/coreapi/interface"
"github.com/ipfs/go-ipfs/core/coreapi/interface/options"
"testing"
"time"
"github.com/ipfs/interface-go-ipfs-core"
"github.com/ipfs/interface-go-ipfs-core/options"
)
func
(
tp
*
provider
)
TestPubSub
(
t
*
testing
.
T
)
{
...
...
tests/unixfs.go
View file @
515a114b
...
...
@@ -15,8 +15,8 @@ import (
"sync"
"testing"
coreiface
"github.com/ipfs/
go-ipfs/core/coreapi/interfac
e"
"github.com/ipfs/
go-ipfs/core/coreapi/interfac
e/options"
coreiface
"github.com/ipfs/
interface-go-ipfs-cor
e"
"github.com/ipfs/
interface-go-ipfs-cor
e/options"
"gx/ipfs/QmR8BauakNcBa3RbE4nbQu76PDiJgoQgz8AJdhJuiU4TAw/go-cid"
cbor
"gx/ipfs/QmRZxJ7oybgnnwriuRub9JXp5YdFM9wiGSyRq38QC7swpS/go-ipld-cbor"
...
...
unixfs.go
View file @
515a114b
...
...
@@ -2,7 +2,7 @@ package iface
import
(
"context"
"github.com/ipfs/
go-ipfs/core/coreapi/interfac
e/options"
"github.com/ipfs/
interface-go-ipfs-cor
e/options"
ipld
"gx/ipfs/QmRL22E4paat7ky7vx9MLpR97JHHbFPrg3ytFQw6qp1y1s/go-ipld-format"
"gx/ipfs/QmZArMcsVDsXdcLbUx4844CuqKXBpbxdeiryM4cnmGTNRq/go-unixfs"
...
...
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