We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bindContext
unlink
watch
The unlink method within a bound context in zen-fs appears to exhibit inconsistent behavior when interacting with the watch method.
zen-fs
When using unlink in a bound context, the path of the event triggered by watch is not consistent.
const ctx = bindContext("/xpto"); fs.watch("/"); ctx.fs.promises.unlink("a.txt");
The event triggered by watch in rootFs indicates the path as "a.txt", instead of being prefixed with the bound context (e.g., /xpto/a.txt).
The path in the event should respect the bound context and be prefixed accordingly, based on the context used when unlink was executed.
The text was updated successfully, but these errors were encountered:
83e5dd7
Sorry for taking so long to get to this!
Sorry, something went wrong.
james-pre
No branches or pull requests
Description
The
unlink
method within a bound context inzen-fs
appears to exhibit inconsistent behavior when interacting with thewatch
method.Problem: unlink Event Path Not Aligned with Bound Context
When using
unlink
in a bound context, the path of the event triggered bywatch
is not consistent.Observed Behavior:
The event triggered by watch in rootFs indicates the path as "a.txt", instead of being prefixed with the bound context (e.g., /xpto/a.txt).
Expected Behavior:
The path in the event should respect the bound context and be prefixed accordingly, based on the context used when unlink was executed.
The text was updated successfully, but these errors were encountered: