Skip to main content

Module project

Module project 

Source

Structs§

AppliedDepOverride
ConfigError
CultureConfig
CultureRenameEntry
CultureRepairEntry
DepOverride
EmitConfig
GuiConfig
GuiTextOverride
GuiVisibilityOverride
PatternRule
Compiled pattern rule from a [[resolutions]] entry that uses the match selector. Holds the original DSL string for diagnostics plus the pre-compiled file/leaf matchers ready for lookup-time use.
Project
ProjectConfig
ProjectImport
ProjectMod
ResolutionEntry
ResolutionMap
SourceEdit
SourceRepairEntry
One reviewed repair: exact edits to a mod’s script file, applied to Foch’s parsed copy only while the file still has the reviewed SHA256.

Enums§

DepOverrideSource
FochConfigLoadError
GuiMode
How migrated GUI actions are presented, for the whole playset.
Matcher
Matches a single side of a pattern rule. Globs are compiled via globset; the re: prefix switches to a regex::Regex.
ProjectImportKind
ResolutionDecision
ResolutionPolicy

Constants§

DEFAULT_EMIT_INDENT

Functions§

compute_conflict_id
The persisted identity of an address-patch conflict. foch.toml stores it, so the hashed text is the game path’s canonical text, exactly what the slash-normalized path text was for every valid path.
compute_playset_fingerprint
Compute a stable hex fingerprint of a playset’s effective merge state.
parse_match_dsl
Splits a DSL <file_side>::<addr_side>? into a file matcher plus an optional leaf matcher. Each side independently honors the re: prefix. An empty address side ("events/**::" or trailing ::) is treated as “no address constraint” — same as omitting :: entirely.
proposed_repair_entry
The entry that would apply proposal to bytes, the mod’s file at file, bound to their SHA256. None when the text does not have what the proposal expects.
render_repairs_toml
entries as the [[repairs]] tables of a foch.toml.