-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mantle/kolet: Use PathChanged instead of PathExists
The previous code (changed in 4f4dfe6) copied to a partial file and then renamed which meant PathExists would trigger as soon as the file path exists, which was too soon because the file is still copying. PathChanged seems to work for our purposes here since it will trigger when the file is closed after it is done writing.
- Loading branch information
Showing
2 changed files
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters