Skip to content

Commit

Permalink
Add deprecation message on all the event based modules
Browse files Browse the repository at this point in the history
  • Loading branch information
adithyaov committed Oct 17, 2024
1 parent e11fded commit 5bbe824
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Streamly/Internal/FileSystem/Event.hs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
{-# OPTIONS_GHC -Wno-deprecations #-}

-- |
-- Module : Streamly.FileSystem.Event
-- Copyright : (c) 2020 Composewell Technologies
Expand All @@ -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

Expand Down
1 change: 1 addition & 0 deletions src/Streamly/Internal/FileSystem/Event/Darwin.hs
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
#if HAVE_DECL_KFSEVENTSTREAMCREATEFLAGFILEEVENTS

module Streamly.Internal.FileSystem.Event.Darwin
{-# DEPRECATED "Use the streamly-fsevents package." #-}
(
-- * Creating a Watch

Expand Down
1 change: 1 addition & 0 deletions src/Streamly/Internal/FileSystem/Event/Linux.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions src/Streamly/Internal/FileSystem/Event/Windows.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 5bbe824

Please sign in to comment.