Skip to main content

load_opt_version_reqs

Function load_opt_version_reqs 

Source
pub fn load_opt_version_reqs<P: AsRef<Path>>(
    path: P,
) -> Result<Option<HashMap<PkgName, VersionReq>>>
Expand description

Loads version requirements from the file if the file exists, otherwise this function returns None.