From: Brian Warner Date: Tue, 9 Sep 2008 23:34:16 +0000 (-0700) Subject: interfaces.py: minor improvement to IDirectoryNode.set_node X-Git-Url: https://git.rkrishnan.org/pf/content/en/service?a=commitdiff_plain;h=137750eca678d7f5239cacb394d2c1ac5efe0898;p=tahoe-lafs%2Ftahoe-lafs.git interfaces.py: minor improvement to IDirectoryNode.set_node --- diff --git a/src/allmydata/interfaces.py b/src/allmydata/interfaces.py index e37f0b3a..90676948 100644 --- a/src/allmydata/interfaces.py +++ b/src/allmydata/interfaces.py @@ -735,7 +735,8 @@ class IDirectoryNode(IMutableFilesystemNode): """I add a child at the specific name. I return a Deferred that fires when the operation finishes. This Deferred will fire with the child node that was just added. I will replace any existing child of the - same name. The child name must be a unicode string. + same name. The child name must be a unicode string. The 'child' + instance must be an instance providing IDirectoryNode or IFileNode. If metadata= is provided, I will use it as the metadata for the named edge. This will replace any existing metadata. If metadata= is left