-
Notifications
You must be signed in to change notification settings - Fork 48
ogma-extra: Remove deprecated functions from System.Directory.Extra #278
Description
Description
The functions copyDirectoryRecursive and copyFile', part of ogma-extra:System.Directory.Extra, are never really used within the module or in any other part of Ogma or, as far as we know, by any user of Ogma.
The functions were deprecated in Ogma 1.6.0 and no messages have been received requesting that they be kept in the library.
As per our internal policy of waiting 3 versions from deprecation until a public interface declaration can be removed, these definitions can now be removed.
Type
- Management: remove deprecated code.
Additional context
- The solution to issue
ogma-cli: Allow customizing the F' application template #185, incorporated into Ogma 1.6.0, deprecated the functions.
Requester
- Ivan Perez.
Method to check presence of bug
Expected result
Running the check below prints an error message indicating that the functions imported do not exist:
$ runhaskell <<< "import System.Directory.Extra(copyDirectoryRecursive, copyFile'); main = return ()"
Desired result
Running the check below prints an error message indicating that the functions imported do not exist:
$ runhaskell <<< "import System.Directory.Extra(copyDirectoryRecursive, copyFile'); main = return ()"
Proposed solution
Remove the deprecated definitions ogma-extra:System.Directory.Extra.copyDirectoryRecursive and ogma-extra:System.Directory.Extra.copyFile', and any references to them. Adjust documentation accordingly, if needed.
Further notes
None.