class fs.wrapfs.WrapFS(wrap_fs)

” A proxy for a filesystem object.

This class exposes an filesystem interface, where the data is stored on another filesystem(s), and is the basis for SubFS and other virtual filesystems.


Get the filesystem.

This method should return a filesystem for methods not associated with a path, e.g. getmeta().


Encode a path for proxied filesystem.

Parameters:path (str) – A path on the fileystem.
Returns:a tuple of <filesystem>, <new path>
Return type:tuple