You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/reference/walk.rst
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ Walk a directory structure.
5
5
6
6
The ``Walker`` class in this module does the work of *walking* a filesystem. In other words, listing each resource in a directory, and any sub-directories.
7
7
8
-
To walk a filesystem (or directory) you can construct a :class::`fs.walk.Walker` object and use its methods to do the walking. Here's an example that prints the path to every Python file in your projects directory::
8
+
To walk a filesystem (or directory) you can construct a :class:`fs.walk.Walker` object and use its methods to do the walking. Here's an example that prints the path to every Python file in your projects directory::
9
9
10
10
>>> from fs import open_fs
11
11
>>> from fs.walk import Walker
@@ -32,4 +32,4 @@ There are two general algorithms for searching a directory tree. The first metho
32
32
Generally speaking, you will only need the a *depth* search if you will be deleting resources as you walk through them. The default *breadth* search is a generally more efficient way of looking through a filesystem. You can specify which method you want with the ``search`` parameter on most ``Walker`` methods.
0 commit comments