dissect.target.filesystems.exfat#

Module Contents#

Classes#

ExfatFilesystem

Base class for filesystems.

ExfatFilesystemEntry

Base class for filesystem entries.

Attributes#

dissect.target.filesystems.exfat.ExfatFileTree#
class dissect.target.filesystems.exfat.ExfatFilesystem(fh: BinaryIO, *args, **kwargs)#

Bases: dissect.target.filesystem.Filesystem

Base class for filesystems.

__type__ = 'exfat'#
get(path: str) ExfatFilesystemEntry#

Returns a ExfatFilesystemEntry object corresponding to the given pathname

class dissect.target.filesystems.exfat.ExfatFilesystemEntry(fs: ExfatFilesystem, path: str, entry: ExfatFileTree)#

Bases: dissect.target.filesystem.FilesystemEntry

Base class for filesystem entries.

get(path: str) ExfatFilesystemEntry#

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[ExfatFilesystemEntry]#

List the directory contents of this directory. Returns a generator of filesystem entries.

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#

Determine the stat information of this entry.

If the entry is a symlink and follow_symlinks is True, it gets resolved, attempting to stat the path where it points to.

Parameters:

follow_symlinks – Whether to resolve the symbolic link if this entry is a symbolic link.

Returns:

The stat information of this entry.

lstat() dissect.target.helpers.fsutil.stat_result#

Return the stat information of this entry.