Skip to main content

Module installer

Module installer 

Source
Expand description

Mod installer pipeline.

Turns a downloaded archive into a staged mod directory + DB manifest. See types for the data model and analyze() for the detection pipeline; execute() stages files into the store, and dossier handles the unknown-type escalation path.

Re-exports§

pub use analyze::analyze;
pub use dossier::DossierContext;
pub use dossier::ProbeTrace;
pub use dossier::dossier_path;
pub use dossier::dossiers_dir;
pub use dossier::dump as dump_dossier;
pub use execute::execute;
pub use fs::extract_archive;
pub use fs::find_fomod_config;
pub use fs::xxh64_file_hex;
pub use probe::InstallProbe;
pub use types::InstallMethod;
pub use types::InstallPlan;
pub use types::InstallStatus;
pub use types::InstallerError;
pub use types::InstallerResult;
pub use types::StagedFile;

Modules§

analyze
Archive structure detection.
dossier
Unknown-mod dossier writer.
execute
Stage files from a temporary extraction directory into a mod’s store directory, according to an InstallPlan.
fs
Filesystem helpers shared by the install pipeline.
probe
Game-specific install detection hooks.
types
Core data types for the mod installer pipeline.