Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
515
func
(t TailTest) Cleanup(tail *Tail, stop bool) {
516
<-t.done
517
if
stop {
518
tail.Stop()
519
}
520
tail.Cleanup()
521
}
Callers
15
TestWaitsForFileToExist
Function · 0.95
TestWaitsForFileToExistRelativePath
Function · 0.95
TestStopAtEOF
Function · 0.95
TestOver4096ByteLine
Function · 0.95
TestOver4096ByteLineWithSetMaxLineSize
Function · 0.95
TestLocationFull
Function · 0.95
TestLocationFullDontFollow
Function · 0.95
TestLocationEnd
Function · 0.95
TestLocationMiddle
Function · 0.95
TestRateLimiting
Function · 0.95
maxLineSize
Function · 0.95
reSeek
Function · 0.95
Calls
1
Stop
Method · 0.80
Tested by
no test coverage detected