Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrIsDir = errors.New("path is a directory")
Functions ¶
This section is empty.
Types ¶
type Dir ¶
type Dir struct { Events chan FileEvent // contains filtered or unexported fields }
Dir observes a directory and will emit events when files are added or removed. When open for the first time this will emit an event for every existing file.
type File ¶
type File struct {
// contains filtered or unexported fields
}
func TailFileWithContext ¶
Click to show internal directories.
Click to hide internal directories.