]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/blobdiff - src/allmydata/interfaces.py
dirnode manifest: add verifycaps, both to internal API and to webapi. This will give...
[tahoe-lafs/tahoe-lafs.git] / src / allmydata / interfaces.py
index 47f7afbacb54ae91c7e9f44b0f1f2ee939535e10..5b935be451b5d55b9094880a804aa6c7d4df3ef8 100644 (file)
@@ -863,16 +863,19 @@ class IDirectoryNode(IMutableFilesystemNode):
         I also compute deep-stats as described below.
 
         I return a Monitor. The Monitor's results will be a dictionary with
-        three elements:
+        four elements:
 
          res['manifest']: a list of (path, cap) tuples for all nodes
                           (directories and files) reachable from this one.
                           'path' will be a tuple of unicode strings. The
                           origin dirnode will be represented by an empty path
                           tuple.
+         res['verifycaps']: a list of (printable) verifycap strings, one for
+                            each reachable non-LIT node. This is a set:
+                            it will contain no duplicates.
          res['storage-index']: a list of (base32) storage index strings,
-                               one for each reachable node. This is a set:
-                               duplicates have been removed.
+                               one for each reachable non-LIT node. This is
+                               a set: it will contain no duplicates.
          res['stats']: a dictionary, the same that is generated by
                        start_deep_stats() below.