Structs§
- Applied
DepOverride - Config
Error - Culture
Config - Culture
Rename Entry - Culture
Repair Entry - DepOverride
- Emit
Config - GuiConfig
- GuiText
Override - GuiVisibility
Override - Pattern
Rule - Compiled pattern rule from a
[[resolutions]]entry that uses thematchselector. Holds the original DSL string for diagnostics plus the pre-compiled file/leaf matchers ready for lookup-time use. - Project
- Project
Config - Project
Import - Project
Mod - Resolution
Entry - Resolution
Map - Source
Edit - Source
Repair Entry - 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§
- DepOverride
Source - Foch
Config Load Error - 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; there:prefix switches to aregex::Regex. - Project
Import Kind - Resolution
Decision - Resolution
Policy
Constants§
Functions§
- compute_
conflict_ id - The persisted identity of an address-patch conflict.
foch.tomlstores 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 there: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
proposaltobytes, the mod’s file atfile, bound to their SHA256.Nonewhen the text does not have what the proposal expects. - render_
repairs_ toml entriesas the[[repairs]]tables of afoch.toml.