enum Gio::FileMonitorEvent

Overview

Specifies what type of event a monitor event is.

Defined in:

auto/gio-2.0/gio.cr

Enum Members

Changed = 0_u32

a file changed.

ChangesDoneHint = 1_u32

a hint that this was probably the last change in a set of changes.

Deleted = 2_u32

a file was deleted.

Created = 3_u32

a file was created.

AttributeChanged = 4_u32

a file attribute was changed.

PreUnmount = 5_u32

the file location will soon be unmounted.

Unmounted = 6_u32

the file location was unmounted.

Moved = 7_u32

the file was moved -- only sent if the (deprecated) %G_FILE_MONITOR_SEND_MOVED flag is set

Renamed = 8_u32

the file was renamed within the current directory -- only sent if the %G_FILE_MONITOR_WATCH_MOVES flag is set. Since: 2.46.

MovedIn = 9_u32

the file was moved into the monitored directory from another location -- only sent if the %G_FILE_MONITOR_WATCH_MOVES flag is set. Since: 2.46.

MovedOut = 10_u32

the file was moved out of the monitored directory to another location -- only sent if the %G_FILE_MONITOR_WATCH_MOVES flag is set. Since: 2.46

Instance Method Summary

Instance Method Detail

def attribute_changed? #

def changed? #

def changes_done_hint? #

def created? #

def deleted? #

def moved? #

def moved_in? #

def moved_out? #

def pre_unmount? #

def renamed? #

def unmounted? #