1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-02 17:01:14 -05:00
denoland-deno/runtime/ops
ctrl+d 38b618ce35
fix(runtime/ops): Fix watchfs remove event (#27041)
Fix related to #26906. 
Currently, if a file is removed, no event is emitted because the file
path no longer exists. As a result, [this
check](12b377247b/runtime/ops/fs_events.rs (L149))
returns false.

With this PR, an additional check is introduced to verify if the file
exists. If the file does not exist, a custom "remove" event is emitted.
This change is necessary because, based on tests conducted on macOS and
Linux (Ubuntu 24.04.1 LTS), Linux emits a "rename" event instead of a
"remove" event when a file is deleted. Introducing a dedicated "remove"
event ensures consistent and clearer behavior across platforms.
2024-11-25 21:08:52 +05:30
..
os feat: permission stack traces in ops (#26938) 2024-11-20 21:24:04 +00:00
web_worker refactor(runtime/ops): use concrete error types (#26409) 2024-10-22 01:41:08 -07:00
bootstrap.rs BREAKING: Remove --unstable flag (#25522) 2024-09-09 23:44:29 +02:00
fs_events.rs fix(runtime/ops): Fix watchfs remove event (#27041) 2024-11-25 21:08:52 +05:30
http.rs refactor(runtime/ops): use concrete error types (#26409) 2024-10-22 01:41:08 -07:00
mod.rs feat: OpenTelemetry Tracing API and Exporting (#26710) 2024-11-13 10:38:46 +00:00
otel.rs feat: Instrument Deno.serve (#26964) 2024-11-25 10:45:06 +01:00
permissions.rs feat: permission stack traces in ops (#26938) 2024-11-20 21:24:04 +00:00
process.rs feat: permission stack traces in ops (#26938) 2024-11-20 21:24:04 +00:00
runtime.rs refactor(runtime/ops): use concrete error types (#26409) 2024-10-22 01:41:08 -07:00
signal.rs refactor(runtime/ops): use concrete error types (#26409) 2024-10-22 01:41:08 -07:00
tty.rs refactor(runtime/ops): use concrete error types (#26409) 2024-10-22 01:41:08 -07:00
web_worker.rs refactor(runtime/ops): use concrete error types (#26409) 2024-10-22 01:41:08 -07:00
worker_host.rs feat: permission stack traces in ops (#26938) 2024-11-20 21:24:04 +00:00