Clarification on intended behaviour #199
Unanswered
terryluan12
asked this question in
Q&A
Replies: 3 comments
-
@terryluan12, thanks for the question. The |
Beta Was this translation helpful? Give feedback.
0 replies
-
@terryluan12 Can I close this issue? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yep, thanks for clarifying! |
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
-
From #78, I discovered that when reading a file, zen-fs always goes through the
promises.ts:readFile
and subsequently thefile.ts:read
function.If you use the Overlay backend, the
file.ts:read
function callsoverlay.ts:sync
which calls the _writable backend's syc function. If the backends are not identical however, this will result in aError: ENOENT: No such file or directory
error.I'm working to fix this, but I'm unsure about the intended behaviour. Could I get some guidance on this?
Beta Was this translation helpful? Give feedback.
All reactions