MCPcopy Index your code
hub / github.com/coder/coder / now

Method now

coderd/agentapi/logs.go:28–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26}
27
28func (a *LogsAPI) now() time.Time {
29 if a.TimeNowFn != nil {
30 return a.TimeNowFn()
31 }
32 return dbtime.Now()
33}
34
35func (a *LogsAPI) BatchCreateLogs(ctx context.Context, req *agentproto.BatchCreateLogsRequest) (*agentproto.BatchCreateLogsResponse, error) {
36 workspaceAgent, err := a.AgentFn(ctx)

Callers 15

BatchCreateLogsMethod · 0.95
index.tsxFile · 0.45
makeReconnectFunction · 0.45
fillHeaderMethod · 0.45
getReconnectScheduleFunction · 0.45
ScheduleFormFunction · 0.45
ThreadItemFunction · 0.45
buildMessageFunction · 0.45

Calls 1

NowFunction · 0.92

Tested by 1

makeReconnectFunction · 0.36