From 77ef8e9603248888046c98555e9609fa78209545 Mon Sep 17 00:00:00 2001 From: Daira Hopwood Date: Fri, 29 May 2015 02:27:33 +0100 Subject: [PATCH] Representation of empty directories. Signed-off-by: Daira Hopwood --- docs/proposed/magic-folder/remote-to-local-sync.rst | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.45.2