MCPcopy Create free account
hub / github.com/alt-art/commit / set_description

Method set_description

src/commit_message/message_build/mod.rs:35–38  ·  view source on GitHub ↗
(&mut self, description: &str)

Source from the content-addressed store, hash-verified

33 }
34
35 pub fn set_description(&mut self, description: &str) {
36 self.message.push_str(&self.config.subject_separator);
37 self.message.push_str(description);
38 }
39
40 pub fn set_body(&mut self, body: &str) {
41 self.message.push_str(format!("\n\n{body}").as_str());

Callers 3

descriptionMethod · 0.80
message_with_configFunction · 0.80
message_builder_testFunction · 0.80

Calls

no outgoing calls

Tested by 2

message_with_configFunction · 0.64
message_builder_testFunction · 0.64