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

Method is_valid

atomic-identity/src/delegation.rs:513–515  ·  view source on GitHub ↗

Check if the delegation is currently valid.

(&self)

Source from the content-addressed store, hash-verified

511
512 /// Check if the delegation is currently valid.
513 pub fn is_valid(&self) -> bool {
514 !self.revoked && !self.is_expired()
515 }
516
517 /// Check if the delegation has expired.
518 pub fn is_expired(&self) -> bool {

Callers 1

allowsMethod · 0.45

Calls 1

is_expiredMethod · 0.45

Tested by

no test coverage detected