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

Method Stop

tail.go:162–165  ·  view source on GitHub ↗

Stop stops the tailing activity.

()

Source from the content-addressed store, hash-verified

160
161// Stop stops the tailing activity.
162func (tail *Tail) Stop() error {
163 tail.Kill(nil)
164 return tail.Wait()
165}
166
167// StopAtEOF stops tailing as soon as the end of the file is reached.
168func (tail *Tail) StopAtEOF() error {

Callers 4

TestMustExistFunction · 0.80
TestStopFunction · 0.80
TestBlockUntilExistsFunction · 0.80
CleanupMethod · 0.80

Calls

no outgoing calls

Tested by 4

TestMustExistFunction · 0.64
TestStopFunction · 0.64
TestBlockUntilExistsFunction · 0.64
CleanupMethod · 0.64