This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Description Prerequisites
Description
When changing the case of a filename on Windows, a deleted event is reported before the renamed event. The same happens for a directory.
The renamed event is also a bit misleading: it says the file was renamed to itself, with the same case for old and new path.
Steps to Reproduce
Start the watcher: watcher -v Dir
Rename Dir\Foo to Dir\foo
Expected behavior:
If Foo is a file:
renamed file: Dir\Foo -> Dir\foo
If Foo is a directory:
renamed directory: Dir\Foo -> Dir\foo
Actual behavior:
If Foo is a file:
deleted file: Dir\foo
renamed file: Dir\foo -> Dir\foo
If Foo is a directory:
deleted directory: Dir\foo
renamed directory: Dir\foo -> Dir\foo
Reproduces how often:
Always
Versions
Master
Additional Information
On windows, the filename is not case-sensitive, so if you do a stat on the old filename (Foo), it will give you the stats for the new filename (foo).
Reactions are currently unavailable
Prerequisites
Description
When changing the case of a filename on Windows, a
deletedevent is reported before therenamedevent. The same happens for a directory.The
renamedevent is also a bit misleading: it says the file was renamed to itself, with the same case for old and new path.Steps to Reproduce
watcher -v DirDir\FootoDir\fooExpected behavior:
If
Foois a file:If
Foois a directory:Actual behavior:
If
Foois a file:If
Foois a directory:Reproduces how often:
Always
Versions
Master
Additional Information
On windows, the filename is not case-sensitive, so if you do a
staton the old filename (Foo), it will give you the stats for the new filename (foo).