changeset 46853:eed3e2b79b48

store: document the `walk` method Differential Revision: https://phab.mercurial-scm.org/D10313
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 06 Apr 2021 10:37:47 +0200
parents fbfb1d6d8459
children 6afb5ef1e776
files mercurial/store.py
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/store.py	Tue Apr 06 13:49:19 2021 -0400
+++ b/mercurial/store.py	Tue Apr 06 10:37:47 2021 +0200
@@ -452,7 +452,9 @@
         return reversed(self._walk(b'', False))
 
     def walk(self, matcher=None):
-        """yields (unencoded, encoded, size)
+        """return file related to data storage (ie: revlogs)
+
+        yields (unencoded, encoded, size)
 
         if a matcher is passed, storage files of only those tracked paths
         are passed with matches the matcher