Skip to main content

parse_docs_scratch

Function parse_docs_scratch 

Source
pub fn parse_docs_scratch(
    value: &str,
) -> Result<Option<Utf8PathBuf>, DeclaredPathError>
Expand description

Read the --docs-scratch argument.

none clears a recorded value, mirroring --plan-zone none. Without a clearing word an operator who declares a scratch by typo can change it but never return to the undeclared state.

ยงErrors

DeclaredPathError for a path that is empty or absolute.