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-dms3-pinner
Commits
e5e18a5a
Commit
e5e18a5a
authored
8 years ago
by
Jeromy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update to libp2p 4.0.1 and propogate other changes
License: MIT Signed-off-by:
Jeromy
<
why@ipfs.io
>
parent
7b4ae57c
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
14 deletions
+14
-14
gc/gc.go
gc/gc.go
+3
-3
indirect.go
indirect.go
+1
-1
pin.go
pin.go
+3
-3
pin_test.go
pin_test.go
+3
-3
set.go
set.go
+3
-3
set_test.go
set_test.go
+1
-1
No files found.
gc/gc.go
View file @
e5e18a5a
...
...
@@ -6,11 +6,11 @@ import (
offline
"github.com/ipfs/go-ipfs/exchange/offline"
dag
"github.com/ipfs/go-ipfs/merkledag"
pin
"github.com/ipfs/go-ipfs/pin"
key
"gx/ipfs/Qm
ce4Y4zg3sYr7xKM5UueS67vhNni6EeWgCRnb7MbLJMew
/go-key"
key
"gx/ipfs/Qm
YEoKZXHoAToWfhGF3vryhMn3WWhE1o2MasQ8uzY5iDi9
/go-key"
context
"context"
logging
"gx/ipfs/QmSpJByNKFX1sCsHBEp3R73FL4NF6FnQTEGyNAXHm2GS52/go-log"
context
"gx/ipfs/QmZy2y8t9zQH2a1b8q2ZSLKp17ATuJoCNxxyMFG5qFExpt/go-net/context"
cid
"gx/ipfs/QmfSc2xehWmWLnwwYR91Y8QF4xdASypTFVknutoKQS3GHp/go-cid"
cid
"gx/ipfs/QmakyCk6Vnn16WEKjbkxieZmM2YLTzkFWizbmGowoYPjro/go-cid"
)
var
log
=
logging
.
Logger
(
"gc"
)
...
...
This diff is collapsed.
Click to expand it.
indirect.go
View file @
e5e18a5a
package
pin
import
(
key
"gx/ipfs/Qm
ce4Y4zg3sYr7xKM5UueS67vhNni6EeWgCRnb7MbLJMew
/go-key"
key
"gx/ipfs/Qm
YEoKZXHoAToWfhGF3vryhMn3WWhE1o2MasQ8uzY5iDi9
/go-key"
)
type
indirectPin
struct
{
...
...
This diff is collapsed.
Click to expand it.
pin.go
View file @
e5e18a5a
...
...
@@ -9,12 +9,12 @@ import (
"time"
mdag
"github.com/ipfs/go-ipfs/merkledag"
key
"gx/ipfs/Qm
ce4Y4zg3sYr7xKM5UueS67vhNni6EeWgCRnb7MbLJMew
/go-key"
key
"gx/ipfs/Qm
YEoKZXHoAToWfhGF3vryhMn3WWhE1o2MasQ8uzY5iDi9
/go-key"
context
"context"
logging
"gx/ipfs/QmSpJByNKFX1sCsHBEp3R73FL4NF6FnQTEGyNAXHm2GS52/go-log"
c
ontext
"gx/ipfs/Qm
Zy2y8t9zQH2a1b8q2ZSLKp17ATuJoCNxxyMFG5qFExpt/go-net/context
"
c
id
"gx/ipfs/Qm
akyCk6Vnn16WEKjbkxieZmM2YLTzkFWizbmGowoYPjro/go-cid
"
ds
"gx/ipfs/QmbzuUusHqaLLoNTDEVLcSF6vZDHZDLPC7p4bztRvvkXxU/go-datastore"
cid
"gx/ipfs/QmfSc2xehWmWLnwwYR91Y8QF4xdASypTFVknutoKQS3GHp/go-cid"
)
var
log
=
logging
.
Logger
(
"pin"
)
...
...
This diff is collapsed.
Click to expand it.
pin_test.go
View file @
e5e18a5a
...
...
@@ -9,11 +9,11 @@ import (
"github.com/ipfs/go-ipfs/exchange/offline"
mdag
"github.com/ipfs/go-ipfs/merkledag"
"gx/ipfs/QmZNVWh8LLjAavuQ2JXuFmuYH3C11xo988vSgp7UQrTRj1/go-ipfs-util"
context
"gx/ipfs/QmZy2y8t9zQH2a1b8q2ZSLKp17ATuJoCNxxyMFG5qFExpt/go-net/context"
context
"context"
cid
"gx/ipfs/QmakyCk6Vnn16WEKjbkxieZmM2YLTzkFWizbmGowoYPjro/go-cid"
"gx/ipfs/Qmb912gdngC1UWwTkhuW8knyRbcWeu5kqkxBpveLmW8bSr/go-ipfs-util"
ds
"gx/ipfs/QmbzuUusHqaLLoNTDEVLcSF6vZDHZDLPC7p4bztRvvkXxU/go-datastore"
dssync
"gx/ipfs/QmbzuUusHqaLLoNTDEVLcSF6vZDHZDLPC7p4bztRvvkXxU/go-datastore/sync"
cid
"gx/ipfs/QmfSc2xehWmWLnwwYR91Y8QF4xdASypTFVknutoKQS3GHp/go-cid"
)
func
randNode
()
(
*
mdag
.
Node
,
*
cid
.
Cid
)
{
...
...
This diff is collapsed.
Click to expand it.
set.go
View file @
e5e18a5a
...
...
@@ -10,12 +10,12 @@ import (
"sort"
"unsafe"
"context"
"github.com/ipfs/go-ipfs/merkledag"
"github.com/ipfs/go-ipfs/pin/internal/pb"
"gx/ipfs/QmYEoKZXHoAToWfhGF3vryhMn3WWhE1o2MasQ8uzY5iDi9/go-key"
"gx/ipfs/QmZ4Qi3GaRbjcx28Sme5eMH7RQjGkt8wHxt2a65oLaeFEV/gogo-protobuf/proto"
"gx/ipfs/QmZy2y8t9zQH2a1b8q2ZSLKp17ATuJoCNxxyMFG5qFExpt/go-net/context"
"gx/ipfs/Qmce4Y4zg3sYr7xKM5UueS67vhNni6EeWgCRnb7MbLJMew/go-key"
cid
"gx/ipfs/QmfSc2xehWmWLnwwYR91Y8QF4xdASypTFVknutoKQS3GHp/go-cid"
cid
"gx/ipfs/QmakyCk6Vnn16WEKjbkxieZmM2YLTzkFWizbmGowoYPjro/go-cid"
)
const
(
...
...
This diff is collapsed.
Click to expand it.
set_test.go
View file @
e5e18a5a
package
pin
import
"gx/ipfs/Qm
ce4Y4zg3sYr7xKM5UueS67vhNni6EeWgCRnb7MbLJMew
/go-key"
import
"gx/ipfs/Qm
YEoKZXHoAToWfhGF3vryhMn3WWhE1o2MasQ8uzY5iDi9
/go-key"
func
ignoreKeys
(
key
.
Key
)
{}
...
...
This diff is collapsed.
Click to expand it.
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