Skip to main content

resolve

Function resolve 

Source
pub fn resolve(args: &CommonArgs) -> Result<ResolvedRun, String>
Expand description

Resolve config (discovery / --config / --no-config), select and read the inputs (--git-diff / --since / positional paths, with all guards), and the effective scalar settings. The Err is a human-readable message the caller prints as error: {msg} (exit 2).

§Errors

Returns a message when the config can’t be loaded, an input can’t be read, or a selection guard fails (e.g. -/stdin combined with --git-diff or --since).