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

Method unknown

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

Create credit with unknown attribution.

(change_hash: Hash, timestamp: DateTime<Utc>)

Source from the content-addressed store, hash-verified

282
283 /// Create credit with unknown attribution.
284 pub fn unknown(change_hash: Hash, timestamp: DateTime<Utc>) -> Self {
285 Self {
286 author_name: "Unknown".to_string(),
287 author_email: None,
288 credit_type: CreditType::Unknown,
289 ai_vendor: None,
290 ai_model: None,
291 change_hash,
292 timestamp,
293 confidence: None,
294 }
295 }
296
297 /// Set the confidence level (0.0 to 1.0, stored as 0-100).
298 pub fn with_confidence(mut self, confidence: f32) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected