Skip to content

Commit 1bcedff

Browse files
committed
ResourceType links
1 parent 108c35a commit 1bcedff

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

fs/base.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ def listdir(self, path):
175175
176176
This method will return a list of the resources in a directory.
177177
A *resource* is a file, directory, or one of the other types
178-
defined in `~fs.ResourceType`.
178+
defined in `~fs.enums.ResourceType`.
179179
180180
Arguments:
181181
path (str): A path to a directory on the filesystem
@@ -823,11 +823,11 @@ def gettype(self, path):
823823
path (str): A path on the filesystem.
824824
825825
Returns:
826-
~fs.ResourceType: the type of the resource.
826+
~fs.enums.ResourceType: the type of the resource.
827827
828828
A type of a resource is an integer that identifies the what
829829
the resource references. The standard type integers may be one
830-
of the values in the `~fs.ResourceType` enumerations.
830+
of the values in the `~fs.enums.ResourceType` enumerations.
831831
832832
The most common resource types, supported by virtually all
833833
filesystems are ``directory`` (1) and ``file`` (2), but the

fs/info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ def is_link(self):
260260
@property
261261
def type(self):
262262
# type: () -> ResourceType
263-
"""`~fs.ResourceType`: the type of the resource.
263+
"""`~fs.enums.ResourceType`: the type of the resource.
264264
265265
Requires the ``"details"`` namespace.
266266

0 commit comments

Comments
 (0)