fluentfs.filelike.file_like.FileLike

class fluentfs.filelike.file_like.FileLike(path: str, expand_user: bool = True, expand_vars: bool = True)

Bases: ABC

__init__(path: str, expand_user: bool = True, expand_vars: bool = True) None

Methods

__init__(path[, expand_user, expand_vars])

Attributes

name

path

The maximally expanded path of the file-like object.

relative_path

relpath

property path: str

The maximally expanded path of the file-like object.