dissect.target.filesystems.fat
#
Module Contents#
Classes#
Base class for filesystems. |
|
Base class for filesystem entries. |
- class dissect.target.filesystems.fat.FatFilesystem(fh: BinaryIO, *args, **kwargs)#
Bases:
dissect.target.filesystem.Filesystem
Base class for filesystems.
- __fstype__ = 'fat'#
- get(path: str) dissect.target.filesystem.FilesystemEntry #
Returns a FatFilesystemEntry object corresponding to the given pathname
- class dissect.target.filesystems.fat.FatFilesystemEntry(fs: Filesystem, path: str, entry: Any)#
Bases:
dissect.target.filesystem.FilesystemEntry
Base class for filesystem entries.
- get(path: str) dissect.target.filesystem.FilesystemEntry #
Get a filesystem entry relative from the current one.
- open() BinaryIO #
Returns file handle (file-like object).
- iterdir() Iterator[str] #
List the directory contents of a directory. Returns a generator of strings.
- scandir() Iterator[dissect.target.filesystem.FilesystemEntry] #
List the directory contents of this directory. Returns a generator of filesystem entries.
- is_symlink() bool #
Return whether this entry is a link.
- is_dir(follow_symlinks: bool = True) bool #
Return whether this entry is a directory.
- is_file(follow_symlinks: bool = True) bool #
Return whether this entry is a file.
- stat(follow_symlinks: bool = True) dissect.target.helpers.fsutil.stat_result #
Return the stat information of this entry.
- lstat() dissect.target.helpers.fsutil.stat_result #
Return the stat information of the given path, without resolving links.