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

Method human

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

Create credit for purely human-authored content.

(
        name: impl Into<String>,
        email: Option<impl Into<String>>,
        change_hash: Hash,
        timestamp: DateTime<Utc>,
    )

Source from the content-addressed store, hash-verified

199impl Credit {
200 /// Create credit for purely human-authored content.
201 pub fn human(
202 name: impl Into<String>,
203 email: Option<impl Into<String>>,
204 change_hash: Hash,
205 timestamp: DateTime<Utc>,
206 ) -> Self {
207 Self {
208 author_name: name.into(),
209 author_email: email.map(Into::into),
210 credit_type: CreditType::Human,
211 ai_vendor: None,
212 ai_model: None,
213 change_hash,
214 timestamp,
215 confidence: None,
216 }
217 }
218
219 /// Create credit for AI-assisted content.
220 pub fn ai_assisted(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected