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

Method description

atomic-core/src/change/credit.rs:94–102  ·  view source on GitHub ↗

Get a human-readable description.

(&self)

Source from the content-addressed store, hash-verified

92impl CreditType {
93 /// Get a human-readable description.
94 pub fn description(&self) -> &'static str {
95 match self {
96 CreditType::Human => "Human",
97 CreditType::AiAssisted => "AI-Assisted",
98 CreditType::Collaborative => "Human+AI",
99 CreditType::AiGenerated => "AI-Generated",
100 CreditType::Unknown => "Unknown",
101 }
102 }
103
104 /// Get a short code for compact display.
105 pub fn short_code(&self) -> &'static str {

Calls

no outgoing calls