PardallMarkdown.Receiver (PardallMarkdown v0.2.0) View Source
Process FileSystem events, directing the paths to their
corresponding pipelines (files and folders) depending on the received events.
Folder Events
Folder events are followed by the :isdir flag.
:moved_from
- Folder renamed or moved: source path.
- Folder deleted: no related
:moved_toevent will be created, only a single:moved_fromevent.
:moved_to
- Folder renamed or moved: destination path, there's a related
:moved_fromevent. - Folder moved from an external folder into the watched folder:
there's no related
:moved_fromevent, only a single:moved_toevent.- Even if the folder is not empty, only a single
:moved_tois created for the folder, without any event being created for the folder's contents (not even for subfolders).
- Even if the folder is not empty, only a single
File Events
:moved_from
- File renamed or moved: source path.
- File deleted: no related
:moved_toevent will be created, only a single:moved_fromevent.
:moved_to
- File renamed or moved: destination path, there's a related
:moved_fromevent. - File moved from an external folder into the watched folder:
there's no related
:moved_fromevent, only a single:moved_toevent.
:created and :modified
- When a file is created, the event
:createdis created. - For each modification, there's an event
:modified. - Finishing the creation and/or modification of a file ends with
[:modified, :closed]. - The event
:attributeis also created during file creation/modification, but it's currently of no use for the purpose of this application.
Link to this section Summary
Functions
Returns whether a file event should be processed or not. Check
the description of PardallMarkdown.Receiver for more details.
Link to this section Functions
Returns whether a file event should be processed or not. Check
the description of PardallMarkdown.Receiver for more details.