pyfilesystem2
pyfilesystem2 copied to clipboard
Consider a WriteConflict exception, or something like it
See https://github.com/PyFilesystem/pyfilesystem2/issues/18
OneDriveFS could use this. I haven't implemented a handler for it yet, but from the documentation, it would happen if another file with the same path was created while OneDriveFS was in the middle of a upload session. It looks like it can't happen with directories.
Has no one gotten around to this yet? DropboxFS could use it too.
It's probably going to be a "won't fix" I'm afraid. Detecting and reporting information about the conflict is inefficient, and impractical on some filesystems.