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

Method RemoveFile

tail_test.go:429–434  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

427}
428
429func (t TailTest) RemoveFile(name string) {
430 err := os.Remove(t.path + "/" + name)
431 if err != nil {
432 t.Fatal(err)
433 }
434}
435
436func (t TailTest) RenameFile(oldname string, newname string) {
437 oldname = t.path + "/" + oldname

Callers 11

TestOver4096ByteLineFunction · 0.95
TestLocationFullFunction · 0.95
TestLocationEndFunction · 0.95
TestLocationMiddleFunction · 0.95
TestRateLimitingFunction · 0.95
TestTellFunction · 0.95
TestBlockUntilExistsFunction · 0.95
maxLineSizeFunction · 0.95
reOpenFunction · 0.95
reSeekFunction · 0.95

Calls 1

FatalMethod · 0.80

Tested by

no test coverage detected