MCPcopy
hub / github.com/spicetify/cli / PrependTime

Function PrependTime

src/utils/utils.go:295–298  ·  view source on GitHub ↗

PrependTime prepends current time string to text and returns new string

(text string)

Source from the content-addressed store, hash-verified

293
294// PrependTime prepends current time string to text and returns new string
295func PrependTime(text string) string {
296 date := time.Now()
297 return fmt.Sprintf("%02d:%02d:%02d ", date.Hour(), date.Minute(), date.Second()) + text
298}
299
300// FindSymbol uses regexp from one or multiple clues to find variable or
301// function symbol in obfuscated code.

Callers 2

WatchExtensionsFunction · 0.92
WatchCustomAppFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected