Skip to main content

read_mzprofile

Function read_mzprofile 

Source
pub fn read_mzprofile(
    project_directory: &Path,
) -> Result<Option<String>, ConfigError>
Expand description

Read the default profile name from <project_directory>/.mzprofile.

Returns Ok(None) if the file doesn’t exist. Blank lines and lines beginning with # are ignored; the first remaining trimmed line is the profile name.