From: Daira Hopwood Date: Fri, 29 May 2015 01:27:33 +0000 (+0100) Subject: Representation of empty directories. X-Git-Url: https://git.rkrishnan.org/a?a=commitdiff_plain;h=77ef8e9603248888046c98555e9609fa78209545;p=tahoe-lafs%2Ftahoe-lafs.git Representation of empty directories. Signed-off-by: Daira Hopwood --- diff --git a/docs/proposed/magic-folder/remote-to-local-sync.rst b/docs/proposed/magic-folder/remote-to-local-sync.rst index 0d8ee45e..d9c6e25e 100644 --- a/docs/proposed/magic-folder/remote-to-local-sync.rst +++ b/docs/proposed/magic-folder/remote-to-local-sync.rst @@ -273,6 +273,10 @@ Each directory entry in a DMD also stores a version number, so that the latest version of a file is well-defined when it has been modified by multiple clients. +To enable representing empty directories, a client that creates a +directory should link a corresponding zero-length file in its DMD, +at a name that ends with the encoded directory separator character. + We want to enable dynamic configuration of the set of clients subscribed to a Magic Folder, without having to reconfigure or restart each client when another client joins or leaves. To support this, we have a single