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
Commits
4ba73b80
Unverified
Commit
4ba73b80
authored
Feb 07, 2018
by
Whyrusleeping
Committed by
GitHub
Feb 07, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4669 from ipfs/extract/posinfo
Extract posinfo package to github.com/ipfs/go-ipfs-posinfo
parents
95daef4e
bb061d61
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
12 additions
and
24 deletions
+12
-24
core/coreunix/add.go
core/coreunix/add.go
+1
-1
core/coreunix/add_test.go
core/coreunix/add_test.go
+1
-1
filestore/filestore.go
filestore/filestore.go
+1
-1
filestore/filestore_test.go
filestore/filestore_test.go
+1
-1
filestore/fsrefstore.go
filestore/fsrefstore.go
+1
-1
importer/helpers/helpers.go
importer/helpers/helpers.go
+1
-1
package.json
package.json
+6
-0
thirdparty/posinfo/posinfo.go
thirdparty/posinfo/posinfo.go
+0
-18
No files found.
core/coreunix/add.go
View file @
4ba73b80
...
...
@@ -21,8 +21,8 @@ import (
dag
"github.com/ipfs/go-ipfs/merkledag"
mfs
"github.com/ipfs/go-ipfs/mfs"
"github.com/ipfs/go-ipfs/pin"
posinfo
"github.com/ipfs/go-ipfs/thirdparty/posinfo"
unixfs
"github.com/ipfs/go-ipfs/unixfs"
posinfo
"gx/ipfs/Qmb3jLEFAQrqdVgWUajqEyuuDoavkSq1XQXz6tWdFWF995/go-ipfs-posinfo"
ds
"gx/ipfs/QmPpegoMqhAEqjncrzArm7KVWAkCm78rqL2DPuNjhPrshg/go-datastore"
syncds
"gx/ipfs/QmPpegoMqhAEqjncrzArm7KVWAkCm78rqL2DPuNjhPrshg/go-datastore/sync"
...
...
core/coreunix/add_test.go
View file @
4ba73b80
...
...
@@ -18,7 +18,7 @@ import (
"github.com/ipfs/go-ipfs/repo"
"github.com/ipfs/go-ipfs/repo/config"
ds2
"github.com/ipfs/go-ipfs/thirdparty/datastore2"
pi
"g
ithub.com/ipfs/go-ipfs/thirdparty/
posinfo"
pi
"g
x/ipfs/Qmb3jLEFAQrqdVgWUajqEyuuDoavkSq1XQXz6tWdFWF995/go-ipfs-
posinfo"
cid
"gx/ipfs/QmcZfnkapfECQGcLZaf9B79NRg7cRa9EnZh4LSbkCzwNvY/go-cid"
"gx/ipfs/QmceUdzxkimdYsgtX733uNgzf1DLHyBKN6ehGSp85ayppM/go-ipfs-cmdkit/files"
...
...
filestore/filestore.go
View file @
4ba73b80
...
...
@@ -11,7 +11,7 @@ import (
"context"
"github.com/ipfs/go-ipfs/blocks/blockstore"
posinfo
"g
ithub.com/ipfs/go-ipfs/thirdparty/
posinfo"
posinfo
"g
x/ipfs/Qmb3jLEFAQrqdVgWUajqEyuuDoavkSq1XQXz6tWdFWF995/go-ipfs-
posinfo"
"gx/ipfs/Qmej7nf81hi2x2tvjRBF3mcp74sQyuDH4VMYDGd1YtXjb2/go-block-format"
dsq
"gx/ipfs/QmPpegoMqhAEqjncrzArm7KVWAkCm78rqL2DPuNjhPrshg/go-datastore/query"
...
...
filestore/filestore_test.go
View file @
4ba73b80
...
...
@@ -9,7 +9,7 @@ import (
"github.com/ipfs/go-ipfs/blocks/blockstore"
dag
"github.com/ipfs/go-ipfs/merkledag"
posinfo
"g
ithub.com/ipfs/go-ipfs/thirdparty/
posinfo"
posinfo
"g
x/ipfs/Qmb3jLEFAQrqdVgWUajqEyuuDoavkSq1XQXz6tWdFWF995/go-ipfs-
posinfo"
ds
"gx/ipfs/QmPpegoMqhAEqjncrzArm7KVWAkCm78rqL2DPuNjhPrshg/go-datastore"
cid
"gx/ipfs/QmcZfnkapfECQGcLZaf9B79NRg7cRa9EnZh4LSbkCzwNvY/go-cid"
...
...
filestore/fsrefstore.go
View file @
4ba73b80
...
...
@@ -10,7 +10,7 @@ import (
"github.com/ipfs/go-ipfs/blocks/blockstore"
pb
"github.com/ipfs/go-ipfs/filestore/pb"
dshelp
"github.com/ipfs/go-ipfs/thirdparty/ds-help"
posinfo
"g
ithub.com/ipfs/go-ipfs/thirdparty/
posinfo"
posinfo
"g
x/ipfs/Qmb3jLEFAQrqdVgWUajqEyuuDoavkSq1XQXz6tWdFWF995/go-ipfs-
posinfo"
"gx/ipfs/Qmej7nf81hi2x2tvjRBF3mcp74sQyuDH4VMYDGd1YtXjb2/go-block-format"
ds
"gx/ipfs/QmPpegoMqhAEqjncrzArm7KVWAkCm78rqL2DPuNjhPrshg/go-datastore"
...
...
importer/helpers/helpers.go
View file @
4ba73b80
...
...
@@ -6,8 +6,8 @@ import (
"os"
dag
"github.com/ipfs/go-ipfs/merkledag"
pi
"github.com/ipfs/go-ipfs/thirdparty/posinfo"
ft
"github.com/ipfs/go-ipfs/unixfs"
pi
"gx/ipfs/Qmb3jLEFAQrqdVgWUajqEyuuDoavkSq1XQXz6tWdFWF995/go-ipfs-posinfo"
cid
"gx/ipfs/QmcZfnkapfECQGcLZaf9B79NRg7cRa9EnZh4LSbkCzwNvY/go-cid"
ipld
"gx/ipfs/Qme5bWv7wtjUNGsK2BNGVUFPKiuxWrsqrtvYwCLRw8YFES/go-ipld-format"
...
...
package.json
View file @
4ba73b80
...
...
@@ -515,6 +515,12 @@
"hash"
:
"QmWFAMPqsEyUX7gDUsRVmMWz59FxSpJ1b2v6bJ1yYzo7jY"
,
"name"
:
"go-base58-fast"
,
"version"
:
"0.1.1"
},
{
"author"
:
"hector"
,
"hash"
:
"Qmb3jLEFAQrqdVgWUajqEyuuDoavkSq1XQXz6tWdFWF995"
,
"name"
:
"go-ipfs-posinfo"
,
"version"
:
"0.0.1"
}
],
"gxVersion"
:
"0.10.0"
,
...
...
thirdparty/posinfo/posinfo.go
deleted
100644 → 0
View file @
95daef4e
package
posinfo
import
(
"os"
ipld
"gx/ipfs/Qme5bWv7wtjUNGsK2BNGVUFPKiuxWrsqrtvYwCLRw8YFES/go-ipld-format"
)
type
PosInfo
struct
{
Offset
uint64
FullPath
string
Stat
os
.
FileInfo
// can be nil
}
type
FilestoreNode
struct
{
ipld
.
Node
PosInfo
*
PosInfo
}
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