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

Function Diff

coderd/audit/diff.go:64–64  ·  view source on GitHub ↗

Diff compares two auditable resources and produces a Map of the changed values.

(a Auditor, left, right T)

Source from the content-addressed store, hash-verified

62// Diff compares two auditable resources and produces a Map of the changed
63// values.
64func Diff[T Auditable](a Auditor, left, right T) Map { return a.diff(left, right) }
65
66// Differ is used so the enterprise version can implement the diff function in
67// the Auditor feature interface. Only types in the same package as the

Callers 2

InitRequestFunction · 0.85
BackgroundAuditFunction · 0.85

Calls 1

diffMethod · 0.65

Tested by

no test coverage detected