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

Method set_scope

src/commit_message/message_build/mod.rs:29–33  ·  view source on GitHub ↗
(&mut self, scope: &str)

Source from the content-addressed store, hash-verified

27 }
28
29 pub fn set_scope(&mut self, scope: &str) {
30 self.message.push_str(&self.config.scope_prefix);
31 self.message.push_str(scope);
32 self.message.push_str(&self.config.scope_suffix);
33 }
34
35 pub fn set_description(&mut self, description: &str) {
36 self.message.push_str(&self.config.subject_separator);

Callers 3

scope_choiceMethod · 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