Skip to content

ogma-extra: Remove deprecated functions from System.Directory.Extra #278

@ivanperez-keera

Description

@ivanperez-keera

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

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.

Metadata

Metadata

Labels

CR:Status:ClosedAdmin only: Change request that has been completedCR:Type:ManagementAdmin only: Change request for conformance with policies or procedures

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions