Skip to content

Commit 1b19c07

Browse files
committed
move p2p package to internal
1 parent 3e67cfe commit 1b19c07

File tree

11 files changed

+8
-4
lines changed

11 files changed

+8
-4
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

pkg/remote/server.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ import (
77

88
badger "github.com/ipfs/go-ds-badger2"
99
"github.com/ipfs/go-path/resolver"
10+
11+
"github.com/multiverse-vcs/go-multiverse/internal/p2p"
1012
"github.com/multiverse-vcs/go-multiverse/pkg/name"
1113
"github.com/multiverse-vcs/go-multiverse/pkg/object"
12-
"github.com/multiverse-vcs/go-multiverse/pkg/p2p"
1314
)
1415

1516
// DotDir is the dot directory for the remote.

pkg/rpc/repo/create.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"errors"
66
"path"
77

8+
"github.com/multiverse-vcs/go-multiverse/internal/p2p"
89
"github.com/multiverse-vcs/go-multiverse/pkg/object"
9-
"github.com/multiverse-vcs/go-multiverse/pkg/p2p"
1010
)
1111

1212
// CreateArgs contains the args.

pkg/rpc/repo/delete.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"context"
55
"errors"
66

7+
"github.com/multiverse-vcs/go-multiverse/internal/p2p"
78
"github.com/multiverse-vcs/go-multiverse/pkg/object"
8-
"github.com/multiverse-vcs/go-multiverse/pkg/p2p"
99
)
1010

1111
// DeleteArgs contains the args.

pkg/rpc/repo/pull.go

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import (
88

99
cid "github.com/ipfs/go-cid"
1010
"github.com/libp2p/go-libp2p-core/peer"
11+
1112
"github.com/multiverse-vcs/go-multiverse/pkg/dag"
1213
"github.com/multiverse-vcs/go-multiverse/pkg/object"
1314
)

pkg/rpc/repo/push.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ import (
77
"strings"
88

99
"github.com/libp2p/go-libp2p-core/peer"
10+
11+
"github.com/multiverse-vcs/go-multiverse/internal/p2p"
1012
"github.com/multiverse-vcs/go-multiverse/pkg/dag"
1113
"github.com/multiverse-vcs/go-multiverse/pkg/merge"
1214
"github.com/multiverse-vcs/go-multiverse/pkg/object"
13-
"github.com/multiverse-vcs/go-multiverse/pkg/p2p"
1415
)
1516

1617
// PushArgs contains the args.

pkg/rpc/repo/search.go

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import (
66
"strings"
77

88
"github.com/libp2p/go-libp2p-core/peer"
9+
910
"github.com/multiverse-vcs/go-multiverse/pkg/object"
1011
)
1112

0 commit comments

Comments
 (0)