dissect.target.loaders.tar

Module Contents

Classes

TarLoader

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.

static detect(path: pathlib.Path) bool

Detects wether this Loader class can load this specific path.

Parameters:

path – The target path to check.

Returns:

True if the path can be loaded by a Loader 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.