Skip to content

Commit c68a40a

Browse files
AJMansfielddpgeorge
authored andcommitted
docs/library/vfs: Document no-args mount output.
Signed-off-by: Anson Mansfield <amansfield@mantaro.com>
1 parent 9fcc25b commit c68a40a

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

docs/library/vfs.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,14 @@ represented by VFS classes.
3434

3535
Will raise ``OSError(EPERM)`` if *mount_point* is already mounted.
3636

37+
.. function:: mount()
38+
:noindex:
39+
40+
With no arguments to :func:`mount`, return a list of tuples representing
41+
all active mountpoints.
42+
43+
The returned list has the form *[(fsobj, mount_point), ...]*.
44+
3745
.. function:: umount(mount_point)
3846

3947
Unmount a filesystem. *mount_point* can be a string naming the mount location,

0 commit comments

Comments
 (0)