Sub Filesystem

A SubFS represents a directory in a ‘parent’ filesystem.

class fs.subfs.ClosingSubFS(parent_fs, path)[source]

A version of SubFS which will close its parent automatically.

class fs.subfs.SubFS(parent_fs, path)[source]

A sub-directory on another filesystem.

A SubFS is a filesystem object that maps to a sub-directory of another filesystem. This is the object that is returned by opendir().