mirror of
https://github.com/ipfs/kubo.git
synced 2025-08-06 19:44:01 +08:00
Update imports
This commit was moved from ipfs/interface-go-ipfs-core@515a114be2 This commit was moved from ipfs/boxo@5c537a46d3
This commit is contained in:
@ -4,7 +4,7 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"io"
|
"io"
|
||||||
|
|
||||||
options "github.com/ipfs/go-ipfs/core/coreapi/interface/options"
|
options "github.com/ipfs/interface-go-ipfs-core/options"
|
||||||
)
|
)
|
||||||
|
|
||||||
// BlockStat contains information about a block
|
// BlockStat contains information about a block
|
||||||
|
@ -5,7 +5,7 @@ package iface
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"github.com/ipfs/go-ipfs/core/coreapi/interface/options"
|
"github.com/ipfs/interface-go-ipfs-core/options"
|
||||||
|
|
||||||
ipld "gx/ipfs/QmRL22E4paat7ky7vx9MLpR97JHHbFPrg3ytFQw6qp1y1s/go-ipld-format"
|
ipld "gx/ipfs/QmRL22E4paat7ky7vx9MLpR97JHHbFPrg3ytFQw6qp1y1s/go-ipld-format"
|
||||||
)
|
)
|
||||||
|
@ -3,7 +3,7 @@ package iface
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"github.com/ipfs/go-ipfs/core/coreapi/interface/options"
|
"github.com/ipfs/interface-go-ipfs-core/options"
|
||||||
|
|
||||||
peer "gx/ipfs/QmPJxxDsX2UbchSHobbYuvz7qnyJTFKvaKMzE2rZWJ4x5B/go-libp2p-peer"
|
peer "gx/ipfs/QmPJxxDsX2UbchSHobbYuvz7qnyJTFKvaKMzE2rZWJ4x5B/go-libp2p-peer"
|
||||||
pstore "gx/ipfs/QmQFFp4ntkd4C14sP3FaH9WJyBuetuGUVo6dShNHvnoEvC/go-libp2p-peerstore"
|
pstore "gx/ipfs/QmQFFp4ntkd4C14sP3FaH9WJyBuetuGUVo6dShNHvnoEvC/go-libp2p-peerstore"
|
||||||
|
@ -3,7 +3,7 @@ package iface
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
options "github.com/ipfs/go-ipfs/core/coreapi/interface/options"
|
options "github.com/ipfs/interface-go-ipfs-core/options"
|
||||||
|
|
||||||
"gx/ipfs/QmPJxxDsX2UbchSHobbYuvz7qnyJTFKvaKMzE2rZWJ4x5B/go-libp2p-peer"
|
"gx/ipfs/QmPJxxDsX2UbchSHobbYuvz7qnyJTFKvaKMzE2rZWJ4x5B/go-libp2p-peer"
|
||||||
)
|
)
|
||||||
|
@ -4,7 +4,7 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
|
|
||||||
options "github.com/ipfs/go-ipfs/core/coreapi/interface/options"
|
options "github.com/ipfs/interface-go-ipfs-core/options"
|
||||||
)
|
)
|
||||||
|
|
||||||
var ErrResolveFailed = errors.New("could not resolve name")
|
var ErrResolveFailed = errors.New("could not resolve name")
|
||||||
|
@ -4,7 +4,7 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"io"
|
"io"
|
||||||
|
|
||||||
options "github.com/ipfs/go-ipfs/core/coreapi/interface/options"
|
options "github.com/ipfs/interface-go-ipfs-core/options"
|
||||||
|
|
||||||
cid "gx/ipfs/QmR8BauakNcBa3RbE4nbQu76PDiJgoQgz8AJdhJuiU4TAw/go-cid"
|
cid "gx/ipfs/QmR8BauakNcBa3RbE4nbQu76PDiJgoQgz8AJdhJuiU4TAw/go-cid"
|
||||||
ipld "gx/ipfs/QmRL22E4paat7ky7vx9MLpR97JHHbFPrg3ytFQw6qp1y1s/go-ipld-format"
|
ipld "gx/ipfs/QmRL22E4paat7ky7vx9MLpR97JHHbFPrg3ytFQw6qp1y1s/go-ipld-format"
|
||||||
|
@ -3,7 +3,7 @@ package options
|
|||||||
import (
|
import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
ropts "github.com/ipfs/go-ipfs/core/coreapi/interface/options/namesys"
|
ropts "github.com/ipfs/interface-go-ipfs-core/options/namesys"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
@ -3,7 +3,7 @@ package iface
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
options "github.com/ipfs/go-ipfs/core/coreapi/interface/options"
|
options "github.com/ipfs/interface-go-ipfs-core/options"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Pin holds information about pinned resource
|
// Pin holds information about pinned resource
|
||||||
|
@ -4,7 +4,7 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"io"
|
"io"
|
||||||
|
|
||||||
options "github.com/ipfs/go-ipfs/core/coreapi/interface/options"
|
options "github.com/ipfs/interface-go-ipfs-core/options"
|
||||||
|
|
||||||
peer "gx/ipfs/QmPJxxDsX2UbchSHobbYuvz7qnyJTFKvaKMzE2rZWJ4x5B/go-libp2p-peer"
|
peer "gx/ipfs/QmPJxxDsX2UbchSHobbYuvz7qnyJTFKvaKMzE2rZWJ4x5B/go-libp2p-peer"
|
||||||
)
|
)
|
||||||
|
@ -6,7 +6,7 @@ import (
|
|||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
coreiface "github.com/ipfs/go-ipfs/core/coreapi/interface"
|
coreiface "github.com/ipfs/interface-go-ipfs-core"
|
||||||
)
|
)
|
||||||
|
|
||||||
var apiNotImplemented = errors.New("api not implemented")
|
var apiNotImplemented = errors.New("api not implemented")
|
||||||
|
@ -6,8 +6,8 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
coreiface "github.com/ipfs/go-ipfs/core/coreapi/interface"
|
coreiface "github.com/ipfs/interface-go-ipfs-core"
|
||||||
opt "github.com/ipfs/go-ipfs/core/coreapi/interface/options"
|
opt "github.com/ipfs/interface-go-ipfs-core/options"
|
||||||
|
|
||||||
mh "gx/ipfs/QmerPMzPk1mJVowm8KgmoknWa4yCYvvugMPsgWmDNUvDLW/go-multihash"
|
mh "gx/ipfs/QmerPMzPk1mJVowm8KgmoknWa4yCYvvugMPsgWmDNUvDLW/go-multihash"
|
||||||
)
|
)
|
||||||
|
@ -7,7 +7,7 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
coreiface "github.com/ipfs/go-ipfs/core/coreapi/interface"
|
coreiface "github.com/ipfs/interface-go-ipfs-core"
|
||||||
|
|
||||||
ipld "gx/ipfs/QmRL22E4paat7ky7vx9MLpR97JHHbFPrg3ytFQw6qp1y1s/go-ipld-format"
|
ipld "gx/ipfs/QmRL22E4paat7ky7vx9MLpR97JHHbFPrg3ytFQw6qp1y1s/go-ipld-format"
|
||||||
ipldcbor "gx/ipfs/QmRZxJ7oybgnnwriuRub9JXp5YdFM9wiGSyRq38QC7swpS/go-ipld-cbor"
|
ipldcbor "gx/ipfs/QmRZxJ7oybgnnwriuRub9JXp5YdFM9wiGSyRq38QC7swpS/go-ipld-cbor"
|
||||||
|
@ -5,8 +5,8 @@ import (
|
|||||||
"io"
|
"io"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/ipfs/go-ipfs/core/coreapi/interface"
|
"github.com/ipfs/interface-go-ipfs-core"
|
||||||
"github.com/ipfs/go-ipfs/core/coreapi/interface/options"
|
"github.com/ipfs/interface-go-ipfs-core/options"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (tp *provider) TestDht(t *testing.T) {
|
func (tp *provider) TestDht(t *testing.T) {
|
||||||
|
@ -5,8 +5,8 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/ipfs/go-ipfs/core/coreapi/interface"
|
"github.com/ipfs/interface-go-ipfs-core"
|
||||||
opt "github.com/ipfs/go-ipfs/core/coreapi/interface/options"
|
opt "github.com/ipfs/interface-go-ipfs-core/options"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (tp *provider) TestKey(t *testing.T) {
|
func (tp *provider) TestKey(t *testing.T) {
|
||||||
|
@ -11,8 +11,8 @@ import (
|
|||||||
ipath "gx/ipfs/QmQ3YSqfxunT5QBg6KBVskKyRE26q6hjSMyhpxchpm7jEN/go-path"
|
ipath "gx/ipfs/QmQ3YSqfxunT5QBg6KBVskKyRE26q6hjSMyhpxchpm7jEN/go-path"
|
||||||
"gx/ipfs/QmaXvvAVAQ5ABqM5xtjYmV85xmN5MkWAZsX9H9Fwo4FVXp/go-ipfs-files"
|
"gx/ipfs/QmaXvvAVAQ5ABqM5xtjYmV85xmN5MkWAZsX9H9Fwo4FVXp/go-ipfs-files"
|
||||||
|
|
||||||
coreiface "github.com/ipfs/go-ipfs/core/coreapi/interface"
|
coreiface "github.com/ipfs/interface-go-ipfs-core"
|
||||||
opt "github.com/ipfs/go-ipfs/core/coreapi/interface/options"
|
opt "github.com/ipfs/interface-go-ipfs-core/options"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (tp *provider) TestName(t *testing.T) {
|
func (tp *provider) TestName(t *testing.T) {
|
||||||
|
@ -8,8 +8,8 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/ipfs/go-ipfs/core/coreapi/interface"
|
"github.com/ipfs/interface-go-ipfs-core"
|
||||||
opt "github.com/ipfs/go-ipfs/core/coreapi/interface/options"
|
opt "github.com/ipfs/interface-go-ipfs-core/options"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (tp *provider) TestObject(t *testing.T) {
|
func (tp *provider) TestObject(t *testing.T) {
|
||||||
|
@ -6,8 +6,8 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
coreiface "github.com/ipfs/go-ipfs/core/coreapi/interface"
|
coreiface "github.com/ipfs/interface-go-ipfs-core"
|
||||||
"github.com/ipfs/go-ipfs/core/coreapi/interface/options"
|
"github.com/ipfs/interface-go-ipfs-core/options"
|
||||||
|
|
||||||
ipldcbor "gx/ipfs/QmRZxJ7oybgnnwriuRub9JXp5YdFM9wiGSyRq38QC7swpS/go-ipld-cbor"
|
ipldcbor "gx/ipfs/QmRZxJ7oybgnnwriuRub9JXp5YdFM9wiGSyRq38QC7swpS/go-ipld-cbor"
|
||||||
)
|
)
|
||||||
|
@ -6,8 +6,8 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/ipfs/go-ipfs/core/coreapi/interface"
|
"github.com/ipfs/interface-go-ipfs-core"
|
||||||
opt "github.com/ipfs/go-ipfs/core/coreapi/interface/options"
|
opt "github.com/ipfs/interface-go-ipfs-core/options"
|
||||||
|
|
||||||
ipld "gx/ipfs/QmRL22E4paat7ky7vx9MLpR97JHHbFPrg3ytFQw6qp1y1s/go-ipld-format"
|
ipld "gx/ipfs/QmRL22E4paat7ky7vx9MLpR97JHHbFPrg3ytFQw6qp1y1s/go-ipld-format"
|
||||||
ipldcbor "gx/ipfs/QmRZxJ7oybgnnwriuRub9JXp5YdFM9wiGSyRq38QC7swpS/go-ipld-cbor"
|
ipldcbor "gx/ipfs/QmRZxJ7oybgnnwriuRub9JXp5YdFM9wiGSyRq38QC7swpS/go-ipld-cbor"
|
||||||
|
@ -2,10 +2,11 @@ package tests
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"github.com/ipfs/go-ipfs/core/coreapi/interface"
|
|
||||||
"github.com/ipfs/go-ipfs/core/coreapi/interface/options"
|
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"github.com/ipfs/interface-go-ipfs-core"
|
||||||
|
"github.com/ipfs/interface-go-ipfs-core/options"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (tp *provider) TestPubSub(t *testing.T) {
|
func (tp *provider) TestPubSub(t *testing.T) {
|
||||||
|
@ -15,8 +15,8 @@ import (
|
|||||||
"sync"
|
"sync"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
coreiface "github.com/ipfs/go-ipfs/core/coreapi/interface"
|
coreiface "github.com/ipfs/interface-go-ipfs-core"
|
||||||
"github.com/ipfs/go-ipfs/core/coreapi/interface/options"
|
"github.com/ipfs/interface-go-ipfs-core/options"
|
||||||
|
|
||||||
"gx/ipfs/QmR8BauakNcBa3RbE4nbQu76PDiJgoQgz8AJdhJuiU4TAw/go-cid"
|
"gx/ipfs/QmR8BauakNcBa3RbE4nbQu76PDiJgoQgz8AJdhJuiU4TAw/go-cid"
|
||||||
cbor "gx/ipfs/QmRZxJ7oybgnnwriuRub9JXp5YdFM9wiGSyRq38QC7swpS/go-ipld-cbor"
|
cbor "gx/ipfs/QmRZxJ7oybgnnwriuRub9JXp5YdFM9wiGSyRq38QC7swpS/go-ipld-cbor"
|
||||||
|
@ -2,7 +2,7 @@ package iface
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"github.com/ipfs/go-ipfs/core/coreapi/interface/options"
|
"github.com/ipfs/interface-go-ipfs-core/options"
|
||||||
|
|
||||||
ipld "gx/ipfs/QmRL22E4paat7ky7vx9MLpR97JHHbFPrg3ytFQw6qp1y1s/go-ipld-format"
|
ipld "gx/ipfs/QmRL22E4paat7ky7vx9MLpR97JHHbFPrg3ytFQw6qp1y1s/go-ipld-format"
|
||||||
"gx/ipfs/QmZArMcsVDsXdcLbUx4844CuqKXBpbxdeiryM4cnmGTNRq/go-unixfs"
|
"gx/ipfs/QmZArMcsVDsXdcLbUx4844CuqKXBpbxdeiryM4cnmGTNRq/go-unixfs"
|
||||||
|
Reference in New Issue
Block a user