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

Method new

atomic-identity/src/identity.rs:241–243  ·  view source on GitHub ↗

Create metadata with the current timestamp.

()

Source from the content-addressed store, hash-verified

239impl IdentityMetadata {
240 /// Create metadata with the current timestamp.
241 pub fn new() -> Self {
242 Self::default()
243 }
244
245 /// Check if the identity has expired.
246 pub fn is_expired(&self) -> bool {

Callers

nothing calls this directly

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected