Skip to main content

set_board_available

Function set_board_available 

Source
pub fn set_board_available(
    game_path: &Path,
    board_name: &str,
    available: bool,
) -> Result<(), Box<dyn Error>>
Expand description

Sets whether a board is available in the game.

ยงErrors

Returns an error if the available boards file cannot be read or updated.