fix(windows): pair rename src dst events to emit full .rename src dst events
This commit is contained in:
parent
03996eb5c1
commit
ef01e2590e
2 changed files with 77 additions and 23 deletions
|
|
@ -30,8 +30,13 @@ pub const EventType = enum {
|
|||
/// `NOTE_WRITE` events and appear as a `deleted` event for the old
|
||||
/// name followed by a `created` event for the new name.
|
||||
///
|
||||
/// - **FSEvents / Windows**: each path involved in a rename receives
|
||||
/// its own `renamed` change event; the two sides are not paired.
|
||||
/// - **Windows**: renames within the watched tree are delivered as a
|
||||
/// single atomic `rename` callback, matching INotify behaviour. A
|
||||
/// move out of the tree appears as `deleted`; a move into the tree
|
||||
/// appears as `created`.
|
||||
///
|
||||
/// - **FSEvents**: each path involved in a rename receives its own
|
||||
/// `renamed` change event; the two sides are not paired.
|
||||
renamed,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue