Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-853

(timebox) LocalClient should use a predefined flow to identify it with LocalWatcher

    XMLWordPrintable

    Details

      Description

      In the current implementation the LocalWatcher retrieve all events from the filesystem without the possibility to identify the events generated by Nuxeo Drive itself.

      To be able to identify those events the LocalClient could before each operation rename the target file ( $file ) to $file.nxdrive, do the modification and then rename it from $file.nxdrive to $file.

      This way the local watcher could just ignore any events on .nxdrive and move from/to .nxdrive.

      The SimpleWatcher implementation might not need this kind of tricks

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: