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

Method prompt_hash_value

atomic-core/src/change/provenance/builder.rs:81–84  ·  view source on GitHub ↗

Set the prompt from a Hash.

(mut self, hash: Hash)

Source from the content-addressed store, hash-verified

79
80 /// Set the prompt from a Hash.
81 pub fn prompt_hash_value(mut self, hash: Hash) -> Self {
82 self.prompt = PromptContent::Hashed(hash);
83 self
84 }
85
86 /// Set the full prompt text.
87 pub fn prompt_full(mut self, prompt: impl Into<String>) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected