aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/world/file/watch.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/library/lux/world/file/watch.lux')
-rw-r--r--stdlib/source/library/lux/world/file/watch.lux9
1 files changed, 1 insertions, 8 deletions
diff --git a/stdlib/source/library/lux/world/file/watch.lux b/stdlib/source/library/lux/world/file/watch.lux
index 35dfb894d..581beba6d 100644
--- a/stdlib/source/library/lux/world/file/watch.lux
+++ b/stdlib/source/library/lux/world/file/watch.lux
@@ -33,7 +33,7 @@
["." //])
(abstract: .public Concern
- {#.doc (example "A particular concern to watch-out for.")}
+ {}
(Record
{#creation Bit
@@ -84,8 +84,6 @@
)
(interface: .public (Watcher !)
- {#.doc (example "Machinery for watching a file-system for changes to files and directories.")}
-
(: (-> Concern //.Path (! (Try Any)))
start)
(: (-> //.Path (! (Try Concern)))
@@ -188,8 +186,6 @@
deletions]])))
(def: .public (polling fs)
- {#.doc (example "A simple watcher that works for any file-system."
- "Polls files and directories to detect changes.")}
(-> (//.System Async) (Watcher Async))
(let [tracker (: (Var Directory_Tracker)
(stm.var (dictionary.empty text.hash)))]
@@ -262,8 +258,6 @@
)))
(def: .public (mock separator)
- {#.doc (example "A fake/emulated watcher."
- "Must be given a path separator for the file-system.")}
(-> Text [(//.System Async) (Watcher Async)])
(let [fs (//.mock separator)]
[fs
@@ -415,7 +409,6 @@
))
(def: .public default
- {#.doc (example "The default watcher for the default file-system.")}
(IO (Try (Watcher Async)))
(do (try.with io.monad)
[watcher (java/nio/file/FileSystem::newWatchService