MCPcopy
hub / github.com/keploy/keploy / Capped

Method Capped

utils/log/logger.go:440–445  ·  view source on GitHub ↗

Capped reports whether the sink dropped any bytes due to its cap. Call after Flush at end-of-run to populate bundle metadata.

()

Source from the content-addressed store, hash-verified

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.
440func (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.
448func (s *DebugFileSink) Written() int64 {

Callers 1

Calls

no outgoing calls

Tested by 1