kubo/core/coreapi
Michael Muré a197125b8f
pin: follow async pinner changes
See https://github.com/ipfs/boxo/pull/290

This PR follow the changes in the Pinner to make listing recursive and direct pins asynchronous, which in turns allow pin/ls to build and emit results without having to wait anything, or accumulate too much in memory.

Note: there is a tradeoff for pin/ls?type=all:
- keep the recursive pins in memory (which I chose)
- ask the pinner twice for the recursive pins, and limit memory usage

Also, follow the changes in the GC with similar benefit of not having to wait the full pin list. Add a test.
Also, follow the changes in pin.Verify.
2023-05-05 17:51:35 +02:00
..
test test: deterministic ipns fixtures during sharness gateway tests (#9667) 2023-05-03 15:01:13 +02:00
block.go chore: migrate go-libipfs to boxo 2023-03-28 22:05:25 -04:00
coreapi.go feat: allow injecting custom path resolvers (#9750) 2023-04-04 18:11:32 +00:00
dag.go chore: migrate go-libipfs to boxo 2023-03-28 22:05:25 -04:00
dht.go chore: migrate go-libipfs to boxo 2023-03-28 22:05:25 -04:00
key.go chore: migrate go-libipfs to boxo 2023-03-28 22:05:25 -04:00
name.go chore: migrate go-libipfs to boxo 2023-03-28 22:05:25 -04:00
object.go chore: migrate go-libipfs to boxo 2023-03-28 22:05:25 -04:00
path.go feat: allow injecting custom path resolvers (#9750) 2023-04-04 18:11:32 +00:00
pin.go pin: follow async pinner changes 2023-05-05 17:51:35 +02:00
pubsub.go chore: migrate go-libipfs to boxo 2023-03-28 22:05:25 -04:00
routing.go test: deterministic ipns fixtures during sharness gateway tests (#9667) 2023-05-03 15:01:13 +02:00
swarm.go chore: migrate go-libipfs to boxo 2023-03-28 22:05:25 -04:00
unixfs.go chore: migrate go-libipfs to boxo 2023-03-28 22:05:25 -04:00