diff --git a/src/fsevents.ml b/src/backend.fsevents.ml similarity index 100% rename from src/fsevents.ml rename to src/backend.fsevents.ml diff --git a/src/fsevents.mli b/src/backend.fsevents.mli similarity index 100% rename from src/fsevents.mli rename to src/backend.fsevents.mli diff --git a/src/inotify.ml b/src/backend.inotify.ml similarity index 100% rename from src/inotify.ml rename to src/backend.inotify.ml diff --git a/src/inotify.mli b/src/backend.inotify.mli similarity index 100% rename from src/inotify.mli rename to src/backend.inotify.mli diff --git a/src/polling.ml b/src/backend.polling.ml similarity index 100% rename from src/polling.ml rename to src/backend.polling.ml diff --git a/src/polling.mli b/src/backend.polling.mli similarity index 100% rename from src/polling.mli rename to src/backend.polling.mli diff --git a/src/dune b/src/dune index cbc7404..6fcb235 100644 --- a/src/dune +++ b/src/dune @@ -1,14 +1,13 @@ (library (name irmin_watcher) - (modules core hook backend irmin_watcher) (public_name irmin-watcher) (c_names realpath) (libraries fmt lwt logs astring (select backend.ml from - (osx-cf.lwt osx-fsevents.lwt -> fsevents.ml) - (inotify.lwt -> inotify.ml) - (lwt.unix -> polling.ml)) + (osx-cf.lwt osx-fsevents.lwt -> backend.fsevents.ml) + (inotify.lwt -> backend.inotify.ml) + (lwt.unix -> backend.polling.ml)) (select backend.mli from - (osx-cf.lwt osx-fsevents.lwt -> fsevents.mli) - (inotify.lwt -> inotify.mli) - (lwt.unix -> polling.mli)))) + (osx-cf.lwt osx-fsevents.lwt -> backend.fsevents.mli) + (inotify.lwt -> backend.inotify.mli) + (lwt.unix -> backend.polling.mli))))