pub fn page_layer(
name: &str,
limits: PageLimits,
) -> Result<Option<Layer>, PageError>Expand description
The page’s files under the folder name (files), as one layer named
name, each at its path after the folder: files/stage.map is the
layer’s stage.map, and the bundle shows it as files/stage.map, as
cargo shuyi check names the game’s own. With name empty, every file
of the page, at its path. None when the page holds none there, and on
every target but the web. Read it once, at the start: the layer’s files
are kept for the life of the program, and the page runs the game again to
change them.
§Errors
A file over limits.per_file, naming it; the files over limits.in_all
together; a path the layer refuses.