Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure target exists calling FileSystemResourceManager.write() #103
The FileSystemResourceManager.write() method assumes the passed target to exist. Some operations in the File class do not properly ensure that. They check the file existence before starting a workspace operation, which allows some other operation, such as a refresh, to remove the file from the workspace between the check and the start of the operation. With this change, the existence check in the File class is performed after starting a workspace operation, such that no other operation is able to remove the file concurrently and make the write operation file. Contributes to #103.
- Loading branch information