Skip to content

Commit 1ef7ca9

Browse files
committed
Note that OSFS.geturl supports the fs purpose in FS.geturl
1 parent f3ffa94 commit 1ef7ca9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

fs/base.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -910,7 +910,8 @@ def geturl(self, path, purpose="download"):
910910
to retrieve for the given path (if there is more than
911911
one). The default is ``'download'``, which should return
912912
a URL that serves the file. Other filesystems may support
913-
other values for ``purpose``.
913+
other values for ``purpose``: for instance, `OSFS` supports
914+
``'fs'``, which returns a FS URL (see :ref:`fs-urls`).
914915
915916
Returns:
916917
str: a URL.

0 commit comments

Comments
 (0)