dissect.target.loaders.tar
#
Module Contents#
Classes#
Load tar files. |
Attributes#
- dissect.target.loaders.tar.log#
- class dissect.target.loaders.tar.TarLoader(path: pathlib.Path | str, **kwargs)#
Bases:
dissect.target.loader.Loader
Load tar files.
- 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.