Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ChangeEventCreate ... ChangeEventCreate = "CREATE" // ChangeEventWrite ... ChangeEventWrite = "WRITE" // ChangeEventRename ... ChangeEventRename = "RENAME" // ChangeEventRemove ... ChangeEventRemove = "REMOVE" // ChangeEventChmod ... ChangeEventChmod = "CHMOD" // ChangeEventUnknown ... ChangeEventUnknown = "UNKNOWN" )
View Source
const BufferSize = 32
BufferSize for reading the files.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type File ¶
File struct holds information about a logged file.
func (*File) HandleEvent ¶
HandleEvent ...
func (*File) UpdateSize ¶
UpdateSize will update the files size. If a change to the file is triggered, we should update the size.
Click to show internal directories.
Click to hide internal directories.