File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,13 +17,6 @@ const (
1717 internalHeader = "INTERNAL"
1818)
1919
20- // NewFormat returns a Format for rendering using a network Context.
21- //
22- // Deprecated: this function was only used internally and will be removed in the next release.
23- func NewFormat (source string , quiet bool ) formatter.Format {
24- return newFormat (source , quiet )
25- }
26-
2720// newFormat returns a [formatter.Format] for rendering a networkContext.
2821func newFormat (source string , quiet bool ) formatter.Format {
2922 switch source {
@@ -41,13 +34,6 @@ func newFormat(source string, quiet bool) formatter.Format {
4134 return formatter .Format (source )
4235}
4336
44- // FormatWrite writes the context
45- //
46- // Deprecated: this function was only used internally and will be removed in the next release.
47- func FormatWrite (fmtCtx formatter.Context , networks []network.Summary ) error {
48- return formatWrite (fmtCtx , networks )
49- }
50-
5137// formatWrite writes the context.
5238func formatWrite (fmtCtx formatter.Context , networks []network.Summary ) error {
5339 render := func (format func (subContext formatter.SubContext ) error ) error {
You can’t perform that action at this time.
0 commit comments