Skip to main content

Module inventory

Module inventory 

Source
Expand description

Persisted inventory for dynamic tool installs.

Each dynamic install root may contain a .osdk-install.json manifest describing its complete install identity and owned bins. This module provides strict serde-backed types plus safe helpers to persist, scan, and reason about those manifests without following symlinks.

Structs§

BinOwnerCandidate
DynamicToolBin
DynamicToolManifest
InstalledDynamicTool
InventoryDiagnostic
LegacyDynamicInstall
ScanOptions
ScanReport

Enums§

CorruptManifestPolicy
InventoryDiagnosticKind

Constants§

INVENTORY_FILE
Name of the per-install dynamic tool inventory file.
LEGACY_INVENTORY_FILE
Previous inventory filename. It is detected for migration/reporting only.

Functions§

build_bin_ownership_candidates
canonical_dynamic_id
configured_and_installed_dynamic_ids
configured_dynamic_ids
remove_manifest
scan_installs