1
mirror of https://github.com/rclone/rclone synced 2024-09-15 11:38:53 +02:00
rclone/sftp
Nick Craig-Wood 16d91246c4 sftp: Fix remote race on creating directories
Because there is a period of time between checking a directory needs
creating and creating it, the leads to errors where directories are
attempting to be created twice.

Add locking on a per directory basis to fix while doing mkdir.
2017-02-04 10:29:46 +00:00
..
sftp_test.go Complete SFTP remote #521 2017-02-04 10:29:46 +00:00
sftp_unsupported.go Complete SFTP remote #521 2017-02-04 10:29:46 +00:00
sftp.go sftp: Fix remote race on creating directories 2017-02-04 10:29:46 +00:00
stringlock_test.go sftp: Fix remote race on creating directories 2017-02-04 10:29:46 +00:00
stringlock.go sftp: Fix remote race on creating directories 2017-02-04 10:29:46 +00:00