MCPcopy
hub / github.com/kptdev/kpt / defaultPkgDiffer

Struct defaultPkgDiffer

internal/util/diff/diff.go:249–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247}
248
249type defaultPkgDiffer struct {
250 // DiffType specifies the type of changes to show
251 DiffType DiffType
252
253 // Difftool refers to diffing commandline tool for showing changes.
254 DiffTool string
255
256 // DiffToolOpts refers to the commandline options to for the diffing tool.
257 DiffToolOpts string
258
259 // When Debug is true, command will run with verbose logging and will not
260 // cleanup the staged packages to assist with debugging.
261 Debug bool
262
263 // Output is an io.Writer where command will write the output of the
264 // command.
265 Output io.Writer
266}
267
268func (d *defaultPkgDiffer) Diff(pkgs ...string) error {
269 for _, pkg := range pkgs {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected