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

Method is_expired

atomic-identity/src/identity.rs:246–248  ·  view source on GitHub ↗

Check if the identity has expired.

(&self)

Source from the content-addressed store, hash-verified

244
245 /// Check if the identity has expired.
246 pub fn is_expired(&self) -> bool {
247 self.expires_at.map(|exp| exp < Utc::now()).unwrap_or(false)
248 }
249
250 /// Set the description.
251 pub fn with_description(mut self, description: impl Into<String>) -> Self {

Callers 2

from_environmentFunction · 0.45
is_validMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected