MCPcopy Create free account
hub / github.com/AIScientists-Dev/Flowtrace / label_with_msg

Function label_with_msg

crates/flowtrace-cli/src/git.rs:457–462  ·  view source on GitHub ↗
(prefix: &str, kind: &str, message: Option<&str>)

Source from the content-addressed store, hash-verified

455// ──────────────────────────────────────────────────────────────────────────
456
457fn label_with_msg(prefix: &str, kind: &str, message: Option<&str>) -> String {
458 match message {
459 Some(m) if !m.is_empty() => format!("{}: {} — {}", prefix, kind, m),
460 _ => format!("{}: {}", prefix, kind),
461 }
462}
463
464pub fn step_commit_msg(step_id: &str, status: &Status) -> String {
465 label_with_msg(step_id, status.kind(), status_message(status))

Callers 2

step_commit_msgFunction · 0.85
deliverable_commit_msgFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…