pub fn workspace_at_each(
input: &Path,
each: bool,
) -> Result<Option<Result<Workspace, ProjectPathsError>>, String>Expand description
#3274: workspace_at, or, with each, the workspace --each stands for:
- a real workspace root is itself (the flag changes nothing there);
- a manifest-less directory with no
bynk.tomlabove it is the implicit workspace of its immediate-subdirectory projects, with a note for each manifest-less subdirectory holding.bynkfiles; - anything else (a file, a project, a directory inside a project, a
directory with no project directly below it, or one with
.bynkfiles of its own) is refused with a message, so the flag never quietly does nothing.
The Err is the message, without a command prefix.