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
05f527a4
Commit
05f527a4
authored
Aug 12, 2018
by
Kevin Atkinson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Gx updates and fixes to use new cid.Builder interface.
License: MIT Signed-off-by:
Kevin Atkinson
<
k@kevina.org
>
parent
1ef16343
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
8 deletions
+8
-8
coreapi.go
coreapi.go
+1
-1
dag.go
dag.go
+1
-1
object.go
object.go
+2
-2
options/dag.go
options/dag.go
+1
-1
path.go
path.go
+2
-2
unixfs.go
unixfs.go
+1
-1
No files found.
coreapi.go
View file @
05f527a4
...
...
@@ -5,7 +5,7 @@ package iface
import
(
"context"
ipld
"gx/ipfs/Qm
ZtNq8dArGfnpCZfx2pUNY7UcjGhVp5qqwQ4hH6mpTMR
Q/go-ipld-format"
ipld
"gx/ipfs/Qm
USyMZ8Vt4vTZr5HdDEgEfpwAXfQRuDdfCFTt7XBzhxp
Q/go-ipld-format"
)
// CoreAPI defines an unified interface to IPFS for Go programs
...
...
dag.go
View file @
05f527a4
...
...
@@ -6,7 +6,7 @@ import (
"github.com/ipfs/go-ipfs/core/coreapi/interface/options"
ipld
"gx/ipfs/Qm
ZtNq8dArGfnpCZfx2pUNY7UcjGhVp5qqwQ4hH6mpTMR
Q/go-ipld-format"
ipld
"gx/ipfs/Qm
USyMZ8Vt4vTZr5HdDEgEfpwAXfQRuDdfCFTt7XBzhxp
Q/go-ipld-format"
)
// DagOps groups operations that can be batched together
...
...
object.go
View file @
05f527a4
...
...
@@ -6,8 +6,8 @@ import (
options
"github.com/ipfs/go-ipfs/core/coreapi/interface/options"
c
id
"gx/ipfs/Qm
YVNvtQkeZ6AKSwDrjQTs432QtL6umrrK41EBq3cu7iSP/go-cid
"
i
pl
d
"gx/ipfs/Qm
ZtNq8dArGfnpCZfx2pUNY7UcjGhVp5qqwQ4hH6mpTMRQ/go-ipld-format
"
i
pl
d
"gx/ipfs/Qm
USyMZ8Vt4vTZr5HdDEgEfpwAXfQRuDdfCFTt7XBzhxpQ/go-ipld-format
"
c
id
"gx/ipfs/Qm
du2AYUV7yMoVBQPxXNfe7FJcdx16kYtsx6jAPKWQYF1y/go-cid
"
)
// ObjectStat provides information about dag nodes
...
...
options/dag.go
View file @
05f527a4
...
...
@@ -3,7 +3,7 @@ package options
import
(
"math"
cid
"gx/ipfs/Qm
YVNvtQkeZ6AKSwDrjQTs432QtL6umrrK41EBq3cu7iSP
/go-cid"
cid
"gx/ipfs/Qm
du2AYUV7yMoVBQPxXNfe7FJcdx16kYtsx6jAPKWQYF1y
/go-cid"
)
type
DagPutSettings
struct
{
...
...
path.go
View file @
05f527a4
package
iface
import
(
ipfspath
"gx/ipfs/Qm
PqCBrmkm7jNfYi7xFS7mUZsrN6DEumBMrxLnL7axNJx1
/go-path"
ipfspath
"gx/ipfs/Qm
TG5WFmAM4uAnqGskeAPijdpTmmNDLJNCQ71NqfdvC6hV
/go-path"
cid
"gx/ipfs/Qm
YVNvtQkeZ6AKSwDrjQTs432QtL6umrrK41EBq3cu7iSP
/go-cid"
cid
"gx/ipfs/Qm
du2AYUV7yMoVBQPxXNfe7FJcdx16kYtsx6jAPKWQYF1y
/go-cid"
)
//TODO: merge with ipfspath so we don't depend on it
...
...
unixfs.go
View file @
05f527a4
...
...
@@ -4,7 +4,7 @@ import (
"context"
"io"
ipld
"gx/ipfs/Qm
ZtNq8dArGfnpCZfx2pUNY7UcjGhVp5qqwQ4hH6mpTMR
Q/go-ipld-format"
ipld
"gx/ipfs/Qm
USyMZ8Vt4vTZr5HdDEgEfpwAXfQRuDdfCFTt7XBzhxp
Q/go-ipld-format"
)
// UnixfsAPI is the basic interface to immutable files in IPFS
...
...
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