diff --git a/src/Streamly/Internal/FileSystem/Event.hs b/src/Streamly/Internal/FileSystem/Event.hs index d161977a81..0b5035158b 100644 --- a/src/Streamly/Internal/FileSystem/Event.hs +++ b/src/Streamly/Internal/FileSystem/Event.hs @@ -1,3 +1,5 @@ +{-# OPTIONS_GHC -Wno-deprecations #-} + -- | -- Module : Streamly.FileSystem.Event -- Copyright : (c) 2020 Composewell Technologies @@ -23,7 +25,9 @@ -- XXX Need to ensure that the signatures of the exported APIs are same on all -- platforms. + module Streamly.Internal.FileSystem.Event + {-# DEPRECATED "Use the streamly-fsevents package." #-} ( -- * Creating a Watch diff --git a/src/Streamly/Internal/FileSystem/Event/Darwin.hs b/src/Streamly/Internal/FileSystem/Event/Darwin.hs index 1dbeebfa83..c9b011414d 100644 --- a/src/Streamly/Internal/FileSystem/Event/Darwin.hs +++ b/src/Streamly/Internal/FileSystem/Event/Darwin.hs @@ -87,6 +87,7 @@ #if HAVE_DECL_KFSEVENTSTREAMCREATEFLAGFILEEVENTS module Streamly.Internal.FileSystem.Event.Darwin + {-# DEPRECATED "Use the streamly-fsevents package." #-} ( -- * Creating a Watch diff --git a/src/Streamly/Internal/FileSystem/Event/Linux.hs b/src/Streamly/Internal/FileSystem/Event/Linux.hs index 4771a3e6eb..5c60501e30 100644 --- a/src/Streamly/Internal/FileSystem/Event/Linux.hs +++ b/src/Streamly/Internal/FileSystem/Event/Linux.hs @@ -59,6 +59,7 @@ #if HAVE_DECL_IN_EXCL_UNLINK module Streamly.Internal.FileSystem.Event.Linux + {-# DEPRECATED "Use the streamly-fsevents package." #-} ( -- * Subscribing to events diff --git a/src/Streamly/Internal/FileSystem/Event/Windows.hs b/src/Streamly/Internal/FileSystem/Event/Windows.hs index c9ea2a1195..25fc921fab 100644 --- a/src/Streamly/Internal/FileSystem/Event/Windows.hs +++ b/src/Streamly/Internal/FileSystem/Event/Windows.hs @@ -43,6 +43,7 @@ -- * Minimum supported server: Windows Server 2003 [desktop apps | UWP apps module Streamly.Internal.FileSystem.Event.Windows + {-# DEPRECATED "Use the streamly-fsevents package." #-} ( -- * Subscribing to events