Capped reports whether the sink dropped any bytes due to its cap. Call after Flush at end-of-run to populate bundle metadata.
()
| 438 | // Capped reports whether the sink dropped any bytes due to its cap. |
| 439 | // Call after Flush at end-of-run to populate bundle metadata. |
| 440 | func (s *DebugFileSink) Capped() bool { |
| 441 | if s == nil || s.capped == nil { |
| 442 | return false |
| 443 | } |
| 444 | return s.capped.Capped() |
| 445 | } |
| 446 | |
| 447 | // Written reports how many bytes were successfully written to the file. |
| 448 | func (s *DebugFileSink) Written() int64 { |
no outgoing calls