dissect.target.loaders.tar
¶
Module Contents¶
Classes¶
Load tar files. |
Attributes¶
- dissect.target.loaders.tar.log¶
- dissect.target.loaders.tar.ANON_FS_RE¶
- class dissect.target.loaders.tar.TarLoader(path: pathlib.Path | str, **kwargs)¶
Bases:
dissect.target.loader.Loader
Load tar files.
- tar¶
- static detect(path: pathlib.Path) bool ¶
Detects wether this
Loader
class can load this specificpath
.- Parameters:
path – The target path to check.
- Returns:
True
if thepath
can be loaded by aLoader
instance.False
otherwise.
- is_compressed(path: pathlib.Path | str) bool ¶
- map(target: TarLoader.map.target) None ¶
Maps the loaded path into a
Target
.- Parameters:
target – The target that we’re mapping into.