Skip to main content

pack_token_row

Function pack_token_row 

Source
pub fn pack_token_row(
    has: bool,
    from_env: bool,
    path: Option<PathBuf>,
    refused: Option<bool>,
) -> Habitat
Expand description

The pack token row of ljos doctor. has says whether a token was found, from_env whether PACKSET_TOKEN carried it, path is where the token file is looked for, and refused whether the writer answered 401 (None when it was not asked or did not answer).