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

Method label

atomic-core/src/change/session.rs:275–281  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

273
274impl SessionStatus {
275 pub fn label(&self) -> &'static str {
276 match self {
277 Self::Active => "active",
278 Self::Ended => "ended",
279 Self::Incomplete(_) => "incomplete",
280 }
281 }
282
283 pub fn incomplete(&self) -> Option<&IncompleteSession> {
284 match self {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected