Closed fsteff closed 1 year ago
Possible limitations - the question here is if there would even be a usecase for it:
_update
=> used by setMetadata
/removeMetadata
, which don't have the opts parameter at all_upsert
(what does that even do?)symlink
does not have the opts parameter
It would be useful to have the ability to pass through the
opts
parameter ofcreateWriteStream
,createReadstream
etc. to the metadata db/hypertrie. This e.g. would make it possible to create hidden files by simple passing thehidden: true
option.However, according to @mafintosh this would result in internal clashes, therefore some namespacing is required (obviously, e.g. for the valueEncoding option).
So here's my suggestion for the options namespace:
I'll try to implement it right away and create a pull request once it works ;-)
Discussion on Discord