File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -346,7 +346,7 @@ type table struct {
346
346
}
347
347
348
348
func (s HistorySize ) TableString (threshold Threshold , nameStyle NameStyle ) string {
349
- contents := s .Contents ()
349
+ contents := s .contents ()
350
350
t := table {
351
351
threshold : threshold ,
352
352
nameStyle : nameStyle ,
@@ -423,14 +423,14 @@ func (t *table) formatRow(
423
423
}
424
424
425
425
func (s HistorySize ) JSON (threshold Threshold , nameStyle NameStyle ) ([]byte , error ) {
426
- contents := s .Contents ()
426
+ contents := s .contents ()
427
427
items := make (map [string ]* item )
428
428
contents .CollectItems (items )
429
429
j , err := json .MarshalIndent (items , "" , " " )
430
430
return j , err
431
431
}
432
432
433
- func (s HistorySize ) Contents () tableContents {
433
+ func (s HistorySize ) contents () tableContents {
434
434
S := newSection
435
435
I := newItem
436
436
metric := counts .Metric
You can’t perform that action at this time.
0 commit comments