Skip to main content

try_read_worker_groups_with

Function try_read_worker_groups_with 

Source
pub fn try_read_worker_groups_with(
    project_root: &Path,
    overlay: &HashMap<PathBuf, String>,
) -> Result<WorkerGroups, ProjectPathsError>
Expand description

Read bynk.toml’s [deploy.workers] groups, honouring overlay (an open, unsaved buffer) and otherwise reading the manifest from disk, as read_package_config does. No manifest, or none of the table, is empty.