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:159–165  ·  view source on GitHub ↗
(err: &atomic_teams::TeamsError)

Source from the content-addressed store, hash-verified

157}
158
159fn is_org_not_found(err: &atomic_teams::TeamsError) -> bool {
160 matches!(err, atomic_teams::TeamsError::OrgNotFound(_))
161 || matches!(
162 err,
163 atomic_teams::TeamsError::Remote(re) if re.is_not_found()
164 )
165}
166
167#[cfg(test)]
168mod tests {

Callers 1

verify_org_existsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected