File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments