Open lasiar opened 3 years ago
Thank you for submitting your first issue to this repository! A maintainer will be here shortly to triage and review. In the meantime, please double-check that you have provided all the necessary information to make this process easy! Any information that can help save additional round trips is useful! We currently aim to give initial feedback within two business days. If this does not happen, feel free to leave a comment. Please keep an eye on how this issue will be labeled, as labels give an overview of priorities, assignments and additional actions requested by the maintainers:
Finally, remember to use https://discuss.ipfs.io if you just need general support.
Thank you for submitting your first issue to this repository! A maintainer will be here shortly to triage and review. In the meantime, please double-check that you have provided all the necessary information to make this process easy! Any information that can help save additional round trips is useful! We currently aim to give initial feedback within two business days. If this does not happen, feel free to leave a comment. Please keep an eye on how this issue will be labeled, as labels give an overview of priorities, assignments and additional actions requested by the maintainers:
Finally, remember to use https://discuss.ipfs.io if you just need general support.
This is a similar issue I have posted here: https://github.com/ipfs/boxo/issues/520
As a bonus some kind of return int64 progress would be great too please. Thanks! :)
P.S. For example func fileArchive(f files.Node, name string, archive bool, compression int) (io.ReadCloser, error) {}
function has io.ReadCloser
in kubo/core/commands/get.go. Also there are archive bool, compression int
arguments which are not present in boxo/files/filewriter.go func WriteTo(nd Node, fpath string) error {}
function which only returns error.
Maybe add to function
WriteTo
the feature for write to exist directory?two choices:
ignoreExist
or something else. Use exist fucntionWriteTo
like a wrapper: