API doesn't support working with Filestore
Arlodotexe opened this issue · 0 comments
Arlodotexe commented
Problem
There's no APIs for interacting with the Filestore in any way.
- HTTP equivalent of
ipfs filestore *
is missing. - The HTTP equivalent of
ipfs add --nocopy
is missing. - The HTTP equivalent of
ipfs add --fscache
is missing.
Solution
Add the missing APIs.
- Our
IFileSystemApi.AddAsync
API methods use anAddFileOptions
parameter to specify options, which should be where--nocopy
and--fscache
are implemented. - Add a new
IFilestoreApi
toICoreApi
in thenet-ipfs-core
repo and implement inIpfsClient
in thenet-ipfs-http-client
repo. This should cover theipfs filestore
part of the API in Kubo.