Skip to main content

find_by_name

Function find_by_name 

Source
pub fn find_by_name(
    config_override: Option<&Path>,
    name: &str,
) -> SshCliResult<Option<VpsRecord>>
Expand description

Looks up a VPS record by name.

Borrows the config override; returns an owned VpsRecord (cloned from the on-disk map) so the caller can mutate without holding the file open.