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

Function identity_author

atomic-cli/src/commands/git/shadow.rs:1736–1741  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1734}
1735
1736fn identity_author() -> Option<(String, String)> {
1737 use atomic_identity::IdentityStore;
1738 let store = IdentityStore::open_default().ok()?;
1739 let identity = store.get_default().ok()??;
1740 Some((identity.name.clone(), identity.email.unwrap_or_default()))
1741}
1742
1743fn identity_map(repo: &Repository, repo_root: &Path) -> atomic_repository::ProjectionIdentityMap {
1744 let _ = repo;

Callers 1

projection_authorFunction · 0.85

Calls 3

okMethod · 0.45
get_defaultMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected