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

Method body

src/commit_message/mod.rs:79–87  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

77 }
78
79 fn body(&mut self) -> Result<()> {
80 let body = self
81 .prompt
82 .optional_input(&self.pattern.msg.commit_body, "Commit body")?;
83 if !body.is_empty() {
84 self.commit_builder.set_body(&body);
85 }
86 Ok(())
87 }
88
89 fn footer(&mut self) -> Result<()> {
90 let footer = self

Callers 1

make_message_commitFunction · 0.80

Calls 2

optional_inputMethod · 0.80
set_bodyMethod · 0.80

Tested by

no test coverage detected