Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Go filesystem implementations refactoring #27

Merged
merged 32 commits into from
Jul 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
ec9dca4
pinfs+keyfs: update subsystem type to `OpenDirFS`
djdv Apr 3, 2023
6520025
pinfs: refactor directory handling
djdv Nov 18, 2022
81566ab
ipfs: refactor directory handling
djdv Nov 18, 2022
d19b1e6
pinfs+keyfs: `OpenDirFS` interface migrations
djdv Nov 19, 2022
0055d54
ipfs+pinfs: implement dir streaming
djdv Nov 20, 2022
d1bb600
ipfs: linting
djdv Nov 20, 2022
df160d0
ipns: unbreak path resolution
djdv Nov 20, 2022
3536407
ipfs: add StatFS method
djdv Nov 24, 2022
9d03904
pinfs: add implements checks
djdv Nov 24, 2022
817cfac
filesystem: all - use new permission const names
djdv Nov 25, 2022
551025f
filesystem: all - bulk API changes
djdv Dec 2, 2022
38aaf92
ipfs: lint - TODO comment was done
djdv Dec 22, 2022
5ab57bd
ipfs: fix ReadDir `EOF` conditions
djdv Dec 22, 2022
844721b
filesystem: extract IPFS systems into subpkg
djdv Dec 22, 2022
5d59746
pinfs: fix ReadDir `EOF` conditions
djdv Dec 22, 2022
d262e06
ipfs+pinfs: generalize `ReadDir`
djdv Dec 22, 2022
5540958
ipfs: linting - remove unused constants
djdv Dec 23, 2022
aed1f7f
ipfs: all - adapt to filesystem API changes
djdv Dec 23, 2022
b423e39
ipfs: all - major refactor
djdv Jan 4, 2023
8612518
ipfs: multiaddr - don't overwrite value when input is bad
djdv Mar 27, 2023
1dd5bb9
ipfs: replaced some functions with `generic` pkg
djdv Apr 11, 2023
e334548
ipfs: all - implement `GuestIdentifier` interface
djdv May 15, 2023
9de323f
ipfs: lint - struct alignment
djdv May 15, 2023
aedf345
chore: boxo migration
aschmahmann May 11, 2023
62721cb
ipfs: lint - use const error values & format types
djdv May 25, 2023
f8968b0
ipfs: lint - use Go 1.20's `errors.Join`
djdv May 25, 2023
748a288
ipfs: always get from cache (rather than peek)
djdv Jun 29, 2023
b18be9a
generic: add `OptionFunc` and `ApplyOptions`
djdv Jul 3, 2023
4a54680
ipfs: lint - scope assertion value + invert if
djdv Jul 3, 2023
0475fd7
ipfs: KeyFS - implement `fs.StatFS`
djdv Jul 3, 2023
c5d31b1
ipfs: migrate to `generic.OptionFunc`
djdv Jul 3, 2023
839db7c
ipfs: migrate from `go-ipfs-http-client` to `kubo/client/rpc`
djdv Jul 3, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
109 changes: 51 additions & 58 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,88 +4,81 @@ go 1.19

require (
github.com/adrg/xdg v0.4.0
github.com/hashicorp/golang-lru/v2 v2.0.2
github.com/hugelgupf/p9 v0.0.0-00010101000000-000000000000
github.com/ipfs/go-cid v0.2.0
github.com/ipfs/go-ipfs-files v0.1.1
github.com/ipfs/go-ipfs-http-client v0.4.0
github.com/ipfs/go-ipld-cbor v0.0.5
github.com/ipfs/go-ipld-format v0.4.0
github.com/ipfs/go-merkledag v0.6.0
github.com/ipfs/go-path v0.3.0
github.com/ipfs/go-unixfs v0.4.0
github.com/ipfs/interface-go-ipfs-core v0.7.0
github.com/ipfs/kubo v0.15.0
github.com/ipfs/boxo v0.10.2-0.20230629143123-2d3edc552442
github.com/ipfs/go-cid v0.4.1
github.com/ipfs/go-ipfs-cmds v0.9.0
github.com/ipfs/go-ipfs-http-client v0.5.1-0.20230418133148-ae996cbe5a91
github.com/ipfs/go-ipld-cbor v0.0.6
github.com/ipfs/go-ipld-format v0.5.0
github.com/ipfs/kubo v0.21.0
github.com/jaevor/go-nanoid v1.3.0
github.com/multiformats/go-multiaddr v0.6.0
github.com/multiformats/go-multiaddr v0.9.0
github.com/multiformats/go-multiaddr-dns v0.3.1
github.com/multiformats/go-multibase v0.2.0
github.com/u-root/uio v0.0.0-20220204230159-dac05f7d2cb4
github.com/winfsp/cgofuse v1.5.1-0.20221118130120-84c0898ad2e0
golang.org/x/exp v0.0.0-20220921023135-46d9e7742f1e
github.com/winfsp/cgofuse v1.5.1-0.20230130140708-f87f5db493b5
golang.org/x/exp v0.0.0-20230321023759-10a507213a29

)

require (
github.com/btcsuite/btcd/btcec/v2 v2.2.0 // indirect
github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137 // indirect
github.com/crackcomm/go-gitignore v0.0.0-20170627025303-887ab5e44cc3 // indirect
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 // indirect
github.com/go-logr/logr v1.2.3 // indirect
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0 // indirect
github.com/go-logr/logr v1.2.4 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/hashicorp/golang-lru v0.5.4 // indirect
github.com/ipfs/bbloom v0.0.4 // indirect
github.com/ipfs/go-block-format v0.0.3 // indirect
github.com/ipfs/go-blockservice v0.4.0 // indirect
github.com/ipfs/go-datastore v0.5.1 // indirect
github.com/ipfs/go-ipfs-blockstore v1.2.0 // indirect
github.com/ipfs/go-ipfs-cmds v0.8.1 // indirect
github.com/ipfs/go-ipfs-ds-help v1.1.0 // indirect
github.com/ipfs/go-ipfs-exchange-interface v0.2.0 // indirect
github.com/ipfs/go-ipfs-util v0.0.2 // indirect
github.com/ipfs/go-ipld-legacy v0.1.1 // indirect
github.com/ipfs/go-bitfield v1.1.0 // indirect
github.com/ipfs/go-block-format v0.1.2 // indirect
github.com/ipfs/go-datastore v0.6.0 // indirect
github.com/ipfs/go-ipfs-util v0.0.3 // indirect
github.com/ipfs/go-ipld-legacy v0.2.1 // indirect
github.com/ipfs/go-log v1.0.5 // indirect
github.com/ipfs/go-log/v2 v2.5.1 // indirect
github.com/ipfs/go-metrics-interface v0.0.1 // indirect
github.com/ipfs/go-verifcid v0.0.2 // indirect
github.com/ipld/go-codec-dagpb v1.4.1 // indirect
github.com/ipld/go-ipld-prime v0.17.0 // indirect
github.com/ipld/go-codec-dagpb v1.6.0 // indirect
github.com/ipld/go-ipld-prime v0.20.0 // indirect
github.com/jbenet/goprocess v0.1.4 // indirect
github.com/klauspost/cpuid/v2 v2.0.14 // indirect
github.com/klauspost/cpuid/v2 v2.2.5 // indirect
github.com/libp2p/go-buffer-pool v0.1.0 // indirect
github.com/libp2p/go-libp2p-core v0.19.1 // indirect
github.com/libp2p/go-libp2p-resource-manager v0.5.3 // indirect
github.com/libp2p/go-openssl v0.0.7 // indirect
github.com/mattn/go-isatty v0.0.14 // indirect
github.com/miekg/dns v1.1.50 // indirect
github.com/minio/sha256-simd v1.0.0 // indirect
github.com/libp2p/go-libp2p v0.27.7 // indirect
github.com/mattn/go-isatty v0.0.19 // indirect
github.com/miekg/dns v1.1.54 // indirect
github.com/minio/sha256-simd v1.0.1 // indirect
github.com/mitchellh/go-homedir v1.1.0 // indirect
github.com/mr-tron/base58 v1.2.0 // indirect
github.com/multiformats/go-base32 v0.0.4 // indirect
github.com/multiformats/go-base36 v0.1.0 // indirect
github.com/multiformats/go-multibase v0.1.1 // indirect
github.com/multiformats/go-multicodec v0.5.0 // indirect
github.com/multiformats/go-multihash v0.2.1 // indirect
github.com/multiformats/go-varint v0.0.6 // indirect
github.com/multiformats/go-base32 v0.1.0 // indirect
github.com/multiformats/go-base36 v0.2.0 // indirect
github.com/multiformats/go-multicodec v0.9.0 // indirect
github.com/multiformats/go-multihash v0.2.3 // indirect
github.com/multiformats/go-multistream v0.4.1 // indirect
github.com/multiformats/go-varint v0.0.7 // indirect
github.com/opentracing/opentracing-go v1.2.0 // indirect
github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/polydawn/refmt v0.0.0-20201211092308-30ac6d18308e // indirect
github.com/polydawn/refmt v0.89.0 // indirect
github.com/rs/cors v1.7.0 // indirect
github.com/spacemonkeygo/spacelog v0.0.0-20180420211403-2296661a0572 // indirect
github.com/spaolacci/murmur3 v1.1.0 // indirect
github.com/whyrusleeping/cbor-gen v0.0.0-20210219115102-f37d292932f2 // indirect
go.opentelemetry.io/otel v1.7.0 // indirect
go.opentelemetry.io/otel/trace v1.7.0 // indirect
go.uber.org/atomic v1.9.0 // indirect
go.uber.org/multierr v1.8.0 // indirect
go.uber.org/zap v1.21.0 // indirect
golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e // indirect
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4 // indirect
golang.org/x/net v0.0.0-20220722155237-a158d28d115b // indirect
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f // indirect
golang.org/x/tools v0.1.12 // indirect
golang.org/x/xerrors v0.0.0-20220609144429-65e65417b02f // indirect
google.golang.org/protobuf v1.28.0 // indirect
lukechampine.com/blake3 v1.1.7 // indirect
github.com/whyrusleeping/cbor-gen v0.0.0-20230126041949-52956bd4c9aa // indirect
go.opentelemetry.io/otel v1.16.0 // indirect
go.opentelemetry.io/otel/metric v1.16.0 // indirect
go.opentelemetry.io/otel/trace v1.16.0 // indirect
go.uber.org/atomic v1.11.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.24.0 // indirect
golang.org/x/crypto v0.10.0 // indirect
golang.org/x/mod v0.10.0 // indirect
golang.org/x/net v0.10.0 // indirect
golang.org/x/sync v0.2.0 // indirect
golang.org/x/sys v0.9.0 // indirect
golang.org/x/tools v0.9.1 // indirect
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
google.golang.org/protobuf v1.30.0 // indirect
lukechampine.com/blake3 v1.2.1 // indirect
)

// FIXME: Ideally we remove this replace directive when upstream merges
Expand Down
Loading