INNER CODE UNIT · Rust
is_missing_any_runtime
vmware-labs/wasm-workers-server · crates/config/src/lib.rs:97
pub fn is_missing_any_runtime(&self, project_root: &Path) -> bool {
for repo in &self.repositories {
if repo
.runtimes
.iter()
.any(|r| !check_runtime(project_root, &repo.name, r))
{
return true;
}
}
false
}
/// Write the current configuration into the `.wws.toml` file. It will
/// store it in the project root folder
pub fn save(&self, project_root: &Path) -> Result<()> {
Ok(fs::write(