fn checked_out_on_default(branch: &str, default: Option<&str>) -> boolExpand description
Whether branch is the default a scan measures against, compared as plain
names: default_branch may be a remote-tracking ref (origin/main), and a
checked-out main is the default rather than a feature branch ahead of it.