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

Method is_expired

atomic-identity/src/identity.rs:214–216  ·  view source on GitHub ↗

Check if the identity has expired.

(&self)

Source from the content-addressed store, hash-verified

212
213 /// Check if the identity has expired.
214 pub fn is_expired(&self) -> bool {
215 self.expires_at.map(|exp| exp < Utc::now()).unwrap_or(false)
216 }
217
218 /// Set the description.
219 pub fn with_description(mut self, description: impl Into<String>) -> Self {

Callers 2

output_defaultMethod · 0.45
is_validMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected