newFormat returns a format for use with a checkpointContext.
(source string)
| 12 | |
| 13 | // newFormat returns a format for use with a checkpointContext. |
| 14 | func newFormat(source string) formatter.Format { |
| 15 | if source == formatter.TableFormatKey { |
| 16 | return defaultCheckpointFormat |
| 17 | } |
| 18 | return formatter.Format(source) |
| 19 | } |
| 20 | |
| 21 | // formatWrite writes formatted checkpoints using the Context |
| 22 | func formatWrite(fmtCtx formatter.Context, checkpoints []checkpoint.Summary) error { |
no outgoing calls
searching dependent graphs…