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