MCPcopy Index your code
hub / github.com/DarthSim/overmind / EscapeTitle

Function EscapeTitle

utils/utils.go:33–37  ·  view source on GitHub ↗

EscapeTitle makes title usable for tmux session name

(title string)

Source from the content-addressed store, hash-verified

31
32// EscapeTitle makes title usable for tmux session name
33func EscapeTitle(title string) string {
34 return strings.ToLower(
35 dashesRe.ReplaceAllString(badTitleCharsRe.ReplaceAllString(title, "-"), "-"),
36 )
37}
38
39// RunCmd runs shell command and returns running error
40func RunCmd(cmd string, args ...string) error {

Callers 1

newCommandFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…