:py:mod:`dissect.extfs` ======================= .. py:module:: dissect.extfs Submodules ---------- .. toctree:: :titlesonly: :maxdepth: 1 c_ext/index.rst c_jdb2/index.rst exceptions/index.rst extfs/index.rst journal/index.rst Package Contents ---------------- Classes ~~~~~~~ .. autoapisummary:: dissect.extfs.ExtFS dissect.extfs.INode dissect.extfs.JDB2 .. py:exception:: Error Bases: :py:obj:`Exception` Common base class for all non-exit exceptions. .. py:exception:: FileNotFoundError Bases: :py:obj:`Error` Common base class for all non-exit exceptions. .. py:exception:: NotADirectoryError Bases: :py:obj:`Error` Common base class for all non-exit exceptions. .. py:exception:: NotASymlinkError Bases: :py:obj:`Error` Common base class for all non-exit exceptions. .. py:class:: ExtFS(fh: BinaryIO) .. py:property:: journal :type: dissect.extfs.journal.JDB2 .. py:method:: get(path: Union[str, int], node: Optional[INode] = None) -> INode .. py:method:: get_inode(inum: int, filename: Optional[str] = None, filetype: Optional[int] = None, parent: Optional[INode] = None, lazy: bool = False) -> INode .. py:class:: INode(extfs: ExtFS, inum: int, filename: Optional[str] = None, filetype: Optional[int] = None, parent: Optional[INode] = None) .. py:property:: inode :type: dissect.cstruct.Instance .. py:property:: size :type: int .. py:property:: filetype :type: int .. py:property:: link :type: str .. py:property:: link_inode :type: INode .. py:property:: xattr :type: list[XAttr] .. py:property:: atime :type: datetime.datetime .. py:property:: atime_ns :type: int .. py:property:: mtime :type: datetime.datetime .. py:property:: mtime_ns :type: int .. py:property:: ctime :type: datetime.datetime .. py:property:: ctime_ns :type: int .. py:property:: dtime :type: datetime.datetime .. py:property:: crtime :type: Optional[datetime.datetime] .. py:property:: crtime_ns :type: Optional[int] .. py:attribute:: dirlist .. py:method:: __repr__() -> str Return repr(self). .. py:method:: listdir() -> dict[str, INode] .. py:method:: iterdir() -> Iterator[INode] .. py:method:: dataruns() -> list[tuple[Optional[int], int]] .. py:method:: open() -> BinaryIO .. py:class:: JDB2(fh: BinaryIO) .. py:method:: read_block(block: int, count: int = 1) -> bytes .. py:method:: commits() -> Iterator[CommitBlock] .. py:method:: commits_all() -> Iterator[CommitBlock] .. py:method:: walk() -> Iterator[CommitBlock]