AArch64 | |
ppc64le | |
s390x | |
x86-64 |
- Update path to version 0.7.0. 0.7.0: * BREAKING CHANGE: "fileExtension" now throws an exception if the file has no extension. You can use the result as a "Maybe" in pure code or handle the exception appropriately in any other monad. * Old extension operations "addFileExtension" and "setFileExtension" have been deprecated and replaced by "addExtension" and "replaceExtension" respectively with new behavior. ADAPTING YOUR CODE TO THIS CHANGE: * Code that sets an extension not starting with a "." e.g. "foo", must be changed such that it starts with a "." i.e. ".foo". * Code that sets multiple extensions in one go e.g. ".tar.gz" must be changed to set them one at a time instead i.e. add ".tar" first and then add ".gz". * Code that sets an extension starting with multiple dots e.g. "..foo" must be changed such as to make the extra dots part of the file name instead. Details: The new operations "addExtension" and "replaceExtension" accept only "valid" extension forms which is exactly the same as what "fileExtension" returns. A valid extension starts with a @.@ followed by one or more characters not including @.@ followed by zero or more @.@s in trailing position. This change allows extension operations to be principled following these laws: * flip addExtension file >=> fileExtension == return * (fileExtension >=> flip replaceExtension file) file == return file * Add splitExtension operation such that: * uncurry addExtension . swap >=> splitExtension == return * splitExtension >=> uncurry addExtension . swap == return * fileExtension == (fmap snd) . splitExtension@ * Add 'Path.Posix' and 'Path.Windows' modules for manipulating Windows or Posix style paths independently of the current platform. * Add 'Lift' instance for 'Path'. * `Path.Windows` normalizes path separators throughout path, including immediately following drive letter. * `Path.Windows` handles UNC (`\\host\share\`) and Unicode (`\\?\C:\`) path without breaking the double-separator prefix. * Remove support for old GHC version. The oldest supported version is 8.2.
- Drop obsolete group attributes.
- Use https URL to refer to bugs.opensuse.org.
- Cosmetic: replace tabs with blanks, strip trailing white space, and update copyright headers with spec-cleaner.
- Update path to version 0.6.1 revision 1. * Add 'addFileExtension' function and its operator form: (<.>). * Derive 'Eq' instance for 'PathException'. * Deprecate PathParseException and rename it to PathException * Allow 'parent' to work on relative paths as well * Deprecate isParentOf and stripDir and rename them to isProperPrefixOf and stripProperPrefix respectively. * Allow "." as a valid relative dir path with the following rules: * "./" </> "./" = "./" * "./" </> "x/" = "x/" * "x/" </> "./" = "x/" * dirname "x" = "./" * dirname "/" = "./" * dirname "./" = "./" * Make dirname return "." instead of "/" (fixes #18). * Remove the 'validity' flag. * Add synonym for setFileExtension in the form of an operator: (-<.>).
- Update to version 0.5.8 revision 0 with cabal2obs.
- update to 0.5.8 * Add Aeson instances.
- update to 0.5.7 * Fix haddock problem. * Reject only .. and . * Use filepath's isValid function for additional sanity checks * Disable parsing of path consisting only of "." * Add NFData instance for Path * Some typo/docs improvements * Add standard headers to modules
- update to 0.5.3 * Added conversion functions.
- initial commit
- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf.
- Update to version 0.5.13 with cabal2obs.
- Update to version 0.5.12 revision 2 with cabal2obs.
- Update to version 0.5.12 revision 1 with cabal2obs.
- Update to version 0.5.12 with cabal2obs.
- Update to version 0.5.11 revision 1 with cabal2obs.
- Update to version 0.5.9 revision 0 with cabal2obs.