lotus/node
Peter Rabbitson 0444435589 Expose basic text-based datamodel selector on retrieval
Syntaxt of selection is located at
https://pkg.go.dev/github.com/ipld/go-ipld-selector-text-lite#SelectorSpecFromPath

Example use, assuming that:
  - The root of the deal is a plain dag-pb unixfs directory
  - The directory is not sharded
  - The user wants to retrieve the first entry in that directory

  lotus client retrieve --miner f0XXXXX --datamodel-path-selector 'Links/0/Hash' bafyROOTCID ~/output

For a much more elaborate example see the top of ./itests/deals_partial_retrieval_test.go
2021-09-10 09:44:11 +02:00
..
config clarify that 0 is unlimited 2021-09-06 17:07:19 +02:00
hello fix lint 2021-09-02 18:45:18 +02:00
impl Expose basic text-based datamodel selector on retrieval 2021-09-10 09:44:11 +02:00
modules Merge pull request #7276 from filecoin-project/nonsense/reject-deal-too-many-staging-deals 2021-09-06 10:01:44 -07:00
repo integrate DAG store and CARv2 in deal-making (#6671) 2021-08-16 23:34:32 +01:00
builder_chain.go Merge pull request #7255 from filecoin-project/cleanup/consensus 2021-09-02 19:48:37 +02:00
builder_miner.go introduce MaxStagingDealsGiB - reject new deals if our staging deals area is "full" 2021-09-06 15:01:06 +02:00
builder.go builder: Handle chainstore config in ConfigFullNode 2021-08-31 13:25:18 +02:00
fxlog.go Update go-log to v2 2020-01-08 20:22:31 +01:00
options.go chain: Cleanup consensus logic 2021-09-02 18:09:37 +02:00
rpc.go addressing comments 2021-07-06 17:33:47 +02:00
shutdown_test.go decouple rpc server and shutdown logic from cmd. 2021-05-21 21:34:17 +01:00
shutdown.go decouple rpc server and shutdown logic from cmd. 2021-05-21 21:34:17 +01:00
testopts.go enable libp2p options 2021-06-30 12:55:43 +02:00