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

Method now

coderd/agentapi/metadata.go:29–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27}
28
29func (a *MetadataAPI) now() time.Time {
30 if a.TimeNowFn != nil {
31 return a.TimeNowFn()
32 }
33 return dbtime.Now()
34}
35
36func (a *MetadataAPI) BatchUpdateMetadata(ctx context.Context, req *agentproto.BatchUpdateMetadataRequest) (*agentproto.BatchUpdateMetadataResponse, error) {
37 const (

Callers 1

BatchUpdateMetadataMethod · 0.95

Calls 1

NowFunction · 0.92

Tested by

no test coverage detected