Skip to main content

Module runtime

Module runtime 

Source
Expand description

Bundle-independent runtime layers shared by player and test launches.

Game asset directories are shared through links; Foch writes into owned runtime/state paths. Game and native plugin code retains the user’s file permissions, including writes through those shared links.

Structs§

Excluded
RuntimeLayer

Functions§

ensure_outside_game
Resolve existing ancestors before any write, including nested junctions. Parent traversal is refused rather than creating a missing prefix first. Unresolved links and metadata errors never authorize an outside parent.
spawn_player
Start an ordinary player game; dropping its Child handle does not stop it.