Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate the FileSystem.Event and friends #2870

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
2 changes: 2 additions & 0 deletions test/Streamly/Test/FileSystem/Event.hs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
{-# OPTIONS_GHC -Wno-deprecations #-}

-- |
-- Module : Streamly.Test.FileSystem.Event
-- Copyright : (c) 2021 Composewell Technologies
Expand Down
2 changes: 2 additions & 0 deletions test/Streamly/Test/FileSystem/Event/Darwin.hs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
{-# OPTIONS_GHC -Wno-deprecations #-}

-- |
-- Module : Streamly.Test.FileSystem.Event.Darwin
-- Copyright : (c) 2020 Composewell Technologies
Expand Down
2 changes: 2 additions & 0 deletions test/Streamly/Test/FileSystem/Event/Linux.hs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
{-# OPTIONS_GHC -Wno-deprecations #-}

-- |
-- Module : Streamly.Test.FileSystem.Event.Linux
-- Copyright : (c) 2020 Composewell Technologies
Expand Down
2 changes: 2 additions & 0 deletions test/Streamly/Test/FileSystem/Event/Windows.hs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
{-# OPTIONS_GHC -Wno-deprecations #-}

-- |
-- Module : Streamly.Test.FileSystem.Event.Windows
-- Copyright : (c) 2020 Composewell Technologies
Expand Down
Loading