| 247 | } |
| 248 | |
| 249 | type 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 | |
| 268 | func (d *defaultPkgDiffer) Diff(pkgs ...string) error { |
| 269 | for _, pkg := range pkgs { |
nothing calls this directly
no outgoing calls
no test coverage detected