RSX Code Reference
    Preparing search index...
    • rsx
    • FolderMonitor

    Class FolderMonitor

    Allows monitoring a file system folder for changes. Depending on the flags set this monitor can notify you when file is changed/moved/renamed and similar.

    Index
    • Create a new folder monitor monitoring a folder.

      Parameters

      Returns FolderMonitor

    • Destroy the monitor and stop monitoring.

      Returns void

    onModified: Event<[p0: FilePath]>

    Triggers when a file in the monitored folder is modified. Provides absolute path to the file.

    onAdded: Event<[p0: FilePath]>

    Triggers when a file/folder is added in the monitored folder. Provides absolute path to the file/folder.

    onRemoved: Event<[p0: FilePath]>

    Triggers when a file/folder is removed from the monitored folder. Provides absolute path to the file/folder.

    onRenamed: Event<[p0: FilePath, p1: FilePath]>

    Triggers when a file/folder is renamed in the monitored folder. Provides absolute path with old and new names.