hawk
hawk copied to clipboard
Moving directories causes wrong paths in File objects
I've reproduced the problem on Linux with the following directory structure (mkdir -p A/{B,C}):
+---A
+---B
\---C
Now watch dir A and run the following commands:
cd A
mkdir B/X
mv B/X/ C/
touch C/X/hello
Expected result:
File object in create event should use the path .../A/C/X/hello
Actual result:
File object in create event uses the path .../A/B/X/hello (Notice the B instead of a C).