rayhunter.manifest

class rayhunter.manifest.QmdlManifestEntry(arch: str, last_message_time: str, name: str, qmdl_size_bytes: int, rayhunter_version: str, start_time: str, stop_reason: str | None, system_os: str)[source]

Bases: object

Metadata for a single QMDL capture file.

arch

The architecture on which the OS was running.

Type:

str

last_message_time

The timestamp of the last message captured in this file.

Type:

str

name

The name of the QMDL file.

Type:

str

qmdl_size_bytes

The total size in bytes of this QMDL file.

Type:

int

rayhunter_version

The rayhunter daemon version which generated the file.

Type:

str

start_time

The start time of this capture file.

Type:

str

stop_reason

The reason this capture was stopped, if it’s stopped.

Type:

Optional[str]

system_os

The OS version that created this file.

Type:

str

class rayhunter.manifest.QmdlManifest(entries: List[QmdlManifestEntry], current_entry: QmdlManifestEntry | None)[source]

Bases: object

A collection of metadata for all QMDL capture files available on this system.

entries

A list of metadata for all finalized QMDL capture files available on this system.

Type:

List[QmdlManifestEntry]

current_entry

An optional value containing information on the active capture, or None if there is no active capture.

Type:

Optional[QmdlManifestEntry]