Documentation ¶
Index ¶
- Constants
- type Event
- func (this *Event) InAttrib() bool
- func (this *Event) InCreate() bool
- func (this *Event) InDelete() bool
- func (this *Event) InDeleteSelf() bool
- func (this *Event) InIgnored() bool
- func (this *Event) InModify() bool
- func (this *Event) InMoveSelf() bool
- func (this *Event) InMovedFrom() bool
- func (this *Event) InMovedTo() bool
- type Watcher
Constants ¶
View Source
const ( IN_ALL_EVENTS = syscall.IN_ALL_EVENTS IN_IGNORED = syscall.IN_IGNORED IN_MODIFY = syscall.IN_MODIFY IN_ATTRIB = syscall.IN_ATTRIB IN_MOVE_SELF = syscall.IN_MOVE_SELF IN_MOVED_FROM = syscall.IN_MOVED_FROM IN_MOVED_TO = syscall.IN_MOVED_TO IN_DELETE_SELF = syscall.IN_DELETE_SELF IN_DELETE = syscall.IN_DELETE IN_CREATE = syscall.IN_CREATE )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Watcher ¶
type Watcher struct {
// contains filtered or unexported fields
}
func NewWatcher ¶
func (*Watcher) IsUnreadEvent ¶
func (*Watcher) ReadEvents ¶
Click to show internal directories.
Click to hide internal directories.