@@ -19,13 +19,6 @@ const (
1919 commentHeader = "COMMENT"
2020)
2121
22- // NewHistoryFormat returns a format for rendering an HistoryContext
23- //
24- // Deprecated: this function was only used internally and will be removed in the next release.
25- func NewHistoryFormat (source string , quiet bool , human bool ) formatter.Format {
26- return newHistoryFormat (source , quiet , human )
27- }
28-
2922// newHistoryFormat returns a format for rendering a historyContext.
3023func newHistoryFormat (source string , quiet bool , human bool ) formatter.Format {
3124 if source == formatter .TableFormatKey {
@@ -42,13 +35,6 @@ func newHistoryFormat(source string, quiet bool, human bool) formatter.Format {
4235 return formatter .Format (source )
4336}
4437
45- // HistoryWrite writes the context
46- //
47- // Deprecated: this function was only used internally and will be removed in the next release.
48- func HistoryWrite (fmtCtx formatter.Context , human bool , histories []image.HistoryResponseItem ) error {
49- return historyWrite (fmtCtx , human , histories )
50- }
51-
5238// historyWrite writes the context
5339func historyWrite (fmtCtx formatter.Context , human bool , histories []image.HistoryResponseItem ) error {
5440 render := func (format func (subContext formatter.SubContext ) error ) error {
0 commit comments