hoelzro / sahara-sync

A free software (AGPL) alternative to Dropbox
7 stars 0 forks source link

Use SyncDir objects for all FS operations #52

Open hoelzro opened 12 years ago

hoelzro commented 12 years ago

Currently, SyncDir objects only supplement raw filesystem access with change notifications and atomic operations. We should probably do all filesystem operations through the SyncDir object; that way, we can provide a fake SyncDir object for sanity-checking tests for clientd. We'll still keep the "real world" tests for thorough testing, but this way we can run those slow tests less often.

On a side note, SyncDir should probably be renamed to FileSystem when this happens.