Closed petersilva closed 3 months ago
what is happenning:
We add a watch with both events, but if the file starts out outside the tree, or ends outside the tree, then we only get one of the two events.
The existing code was expecting to always see both events. Need to add processing of "unresolved_renames" where only one event was received. such unresolved renames are normal copies, or normal removes.
have a case where a file is being built in another directory, then moved into the directory being watched. cpost is not posting the files in that directory.
This is in the INOTIFY case. (check4events.)
We found some guard if statements that look bogus. will try removing them and see if tests pass.