Skip to main content

default_workspace

Function default_workspace 

Source
pub fn default_workspace(workspace_env: Option<&OsStr>, user: &str) -> PathBuf
Expand description

Workspace directory of a new game: $SHELLGAME_WORKSPACE, else /tmp/shellgame-{user}.

An empty $SHELLGAME_WORKSPACE counts as unset.