Replies: 2 comments
-
use |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Thanks for the feedback. Yes, the docs aren't exhaustive at this point as I've still been trying to figure out how things should work. I have been thinking about |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
hfs.delete(file) throws when file not exists
Other library behaviors
fse.removeSyncsilent when not existsAnd deleting-files did not mention
when file not existshttps://github.com/humanwhocodes/humanfs/blob/main/docs/file-operations.md#deleting-files
From the tips part, looks like read(json text bytes) / write / isFile / append allows none existing file.
others delete / size / lastModified / move / copy did not mention.
but size / lastModified / move / copy semantically requires file existance.
the rest
delete, if it's designed to not allow delete none-exists file, a tip would be nice.Beta Was this translation helpful? Give feedback.
All reactions