MCPcopy Create free account
hub / github.com/compozy/agh / cliNow

Function cliNow

internal/cli/task.go:204–209  ·  view source on GitHub ↗
(now func() time.Time)

Source from the content-addressed store, hash-verified

202}
203
204func cliNow(now func() time.Time) time.Time {
205 if now == nil {
206 return time.Now().UTC()
207 }
208 return now().UTC()
209}
210
211func taskInspectUnknownIDRecord(id string, asOf time.Time) TaskInspectRecord {
212 return TaskInspectRecord{

Callers 4

newSkillInfoCommandFunction · 0.85
newSkillWhereCommandFunction · 0.85
newTaskInspectCommandFunction · 0.85
newTaskBlockCommandFunction · 0.85

Calls 1

NowMethod · 0.45

Tested by

no test coverage detected