Skip to main content

GrantStorePathOverride

Type Alias GrantStorePathOverride 

Source
pub type GrantStorePathOverride = Option<PathBuf>;
Expand description

Optional override for the grant store path passed to record_first_invoke_grant.

Pass None in production — the path is resolved via default_toolset_grants_path. Pass Some(path) in integration tests to write to a TempDir.

Aliased Type§

pub enum GrantStorePathOverride {
    None,
    Some(PathBuf),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(PathBuf)

Some value of type T.