Sub Filesystem

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

class fs.subfs.ClosingSubFS(parent_fs, path)

A version of SubFS which will close its parent automatically.

class fs.subfs.SubFS(parent_fs, path)

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().