mirror of
https://github.com/octoleo/lsyncd.git
synced 2024-05-29 06:30:46 +00:00
Update index.md
This commit is contained in:
parent
857850c536
commit
0d815a1dcf
|
@ -59,20 +59,20 @@ Variables of the actions are given by the _event_ field. It has following fields
|
||||||
|Field|Meaning|
|
|Field|Meaning|
|
||||||
|:----|:----|
|
|:----|:----|
|
||||||
| event.config | the configuration as called with sync{} |
|
| event.config | the configuration as called with sync{} |
|
||||||
| event.inlet | see [layer 1]({{ site.url }}/manual/config/layer1/) about inlets |
|
| event.inlet | see [layer 1](../layer1/) about inlets |
|
||||||
| event.etype | the event type. Can be 'ATTRIB', 'CREATE', 'MODIFY', 'DELETE', 'MOVE' |
|
| event.etype | the event type. Can be 'ATTRIB', 'CREATE', 'MODIFY', 'DELETE', 'MOVE' |
|
||||||
| event.status | the status of the event. 'wait' when it is ready to be spawned and 'active' if there is a process running associated with this event |
|
| event.status | the status of the event. 'wait' when it is ready to be spawned and 'active' if there is a process running associated with this event |
|
||||||
| event.isdir | true if the event relates to a directory |
|
| event.isdir | true if the event relates to a directory |
|
||||||
| event.name | the filename, directories end with a slash |
|
| event.name | the filename, directories end with a slash |
|
||||||
| event.basename | the filename, directories do not end with a slash |
|
| event.basename | the filename, directories do not end with a slash |
|
||||||
| event.path | see ^path of [Layer 3]({{ site.url }}/manual/config/layer3/#all-possible-variables) |
|
| event.path | see ^path of [Layer 3](../layer3/#all-possible-variables) |
|
||||||
| event.pathname | see ^pathname of [Layer 3]({{ site.url }}/manual/config/layer3/#all-possible-variables) |
|
| event.pathname | see ^pathname of [Layer 3](../layer3/#all-possible-variables) |
|
||||||
| event.source | see ^source of [Layer 3]({{ site.url }}/manual/config/layer3/#all-possible-variables) |
|
| event.source | see ^source of [Layer 3](../layer3/#all-possible-variables) |
|
||||||
| event.sourcePath | see ^sourcePath of [Layer 3]({{ site.url }}/manual/config/layer3/#all-possible-variables) |
|
| event.sourcePath | see ^sourcePath of [Layer 3](../layer3/#all-possible-variables) |
|
||||||
| event.sourcePathname | see ^sourcePathname of [Layer 3]({{ site.url }}/manual/config/layer3/#all-possible-variables) |
|
| event.sourcePathname | see ^sourcePathname of [Layer 3](../layer3/#all-possible-variables) |
|
||||||
| event.target | see ^target of [Layer 3]({{ site.url }}/manual/config/layer3/#all-possible-variables) |
|
| event.target | see ^target of [Layer 3](../layer3/#all-possible-variables) |
|
||||||
| event.targetPath | see ^targetPath of [Layer 3]({{ site.url }}/manual/config/layer3/#all-possible-variables) |
|
| event.targetPath | see ^targetPath of [Layer 3](../layer3/#all-possible-variables) |
|
||||||
| event.targetPathname | see ^targetPathname of [Layer 3]({{ site.url }}/manual/config/layer3/#all-possible-variables) |
|
| event.targetPathname | see ^targetPathname of [Layer 3](../layer3/#all-possible-variables) |
|
||||||
|
|
||||||
onMove actions have two events as parameter, the origin and the destination of the move.
|
onMove actions have two events as parameter, the origin and the destination of the move.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user