MCPcopy Create free account
hub / github.com/hpcloud/tail / Cleanup

Method Cleanup

tail_test.go:515–521  ·  view source on GitHub ↗
(tail *Tail, stop bool)

Source from the content-addressed store, hash-verified

513}
514
515func (t TailTest) Cleanup(tail *Tail, stop bool) {
516 <-t.done
517 if stop {
518 tail.Stop()
519 }
520 tail.Cleanup()
521}

Callers 15

TestWaitsForFileToExistFunction · 0.95
TestStopAtEOFFunction · 0.95
TestOver4096ByteLineFunction · 0.95
TestLocationFullFunction · 0.95
TestLocationEndFunction · 0.95
TestLocationMiddleFunction · 0.95
TestRateLimitingFunction · 0.95
maxLineSizeFunction · 0.95
reSeekFunction · 0.95

Calls 1

StopMethod · 0.80

Tested by

no test coverage detected