@@ -614,7 +614,7 @@ removeFromWatch (Watch handle wdMap) path = do
614 return newMap
614 return newMap
615 else return $ Map.insert wd v newMap
615 else return $ Map.insert wd v newMap
617−-- | Given a 'Config' and list of @paths@ (UTF-8 encoded byte arrays) start
617+-- | Given a 'Config' and list of @paths@ ("/" separated byte arrays) start
618-- monitoring the paths for file system events. Returns a 'Watch' handle which
618-- monitoring the paths for file system events. Returns a 'Watch' handle which
619-- can then be used to read the event stream or to close the watch.
619-- can then be used to read the event stream or to close the watch.
@@ -721,7 +721,7 @@ watchToStream (Watch handle wdMap) =
721-- paths could be files or directories. When the path is a directory, only the
721-- paths could be files or directories. When the path is a directory, only the
722-- files and directories directly under the watched directory are monitored,
722-- files and directories directly under the watched directory are monitored,
723-- contents of subdirectories are not monitored. Monitoring starts from the
723-- contents of subdirectories are not monitored. Monitoring starts from the
724−-- current time onwards. The paths are specified as UTF-8 encoded 'Array' of
724+-- current time onwards. The paths are specified as "/" separated 'Array' of
725-- 'Word8'.
725-- 'Word8'.
@@ -778,7 +778,7 @@ getRoot Event{..} =
779-- XXX should we use a Maybe here?
779-- XXX should we use a Maybe here?
780-- | Get the file system object path for which the event is generated, relative
780-- | Get the file system object path for which the event is generated, relative
781−-- to the watched root. The path is a UTF-8 encoded array of bytes.
781+-- to the watched root. The path is a "/" separated array of bytes.
783-- /Internal/
783-- /Internal/