MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / is_org_not_found

Function is_org_not_found

atomic-cli/src/commands/org/set.rs:174–180  ·  view source on GitHub ↗
(err: &atomic_teams::TeamsError)

Source from the content-addressed store, hash-verified

172}
173
174fn is_org_not_found(err: &atomic_teams::TeamsError) -> bool {
175 matches!(err, atomic_teams::TeamsError::OrgNotFound(_))
176 || matches!(
177 err,
178 atomic_teams::TeamsError::Remote(re) if re.is_not_found()
179 )
180}
181
182#[cfg(test)]
183mod tests {

Callers 1

verify_org_existsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected