1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74
|
cabal-version: 1.18
build-type: Simple
name: filepattern
version: 0.1.3
license: BSD3
license-file: LICENSE
category: Development, FilePath
author: Neil Mitchell <ndmitchell@gmail.com>, Evan Rutledge Borden <evan@evan-borden.com>
maintainer: Neil Mitchell <ndmitchell@gmail.com>
copyright: Neil Mitchell 2011-2022
synopsis: File path glob-like matching
description:
A library for matching files using patterns such as @\"src\/**\/*.png\"@ for all @.png@ files
recursively under the @src@ directory. Features:
.
* All matching is /O(n)/. Most functions precompute some information given only one argument.
.
* See "System.FilePattern" and @?==@ simple matching and semantics.
.
* Use @match@ and @substitute@ to extract suitable
strings from the @*@ and @**@ matches, and substitute them back into other patterns.
.
* Use @step@ and @matchMany@ to perform bulk matching
of many patterns against many paths simultaneously.
.
* Use "System.FilePattern.Directory" to perform optimised directory traverals using patterns.
.
Originally taken from the <https://hackage.haskell.org/package/shake Shake library>.
homepage: https://github.com/ndmitchell/filepattern#readme
bug-reports: https://github.com/ndmitchell/filepattern/issues
tested-with: GHC==9.0, GHC==8.10, GHC==8.8, GHC==8.6, GHC==8.4, GHC==8.2, GHC==8.0
extra-doc-files:
CHANGES.txt
README.md
source-repository head
type: git
location: https://github.com/ndmitchell/filepattern.git
library
default-language: Haskell2010
hs-source-dirs: src
build-depends:
base == 4.*,
directory,
extra >= 1.6.2,
filepath
exposed-modules:
System.FilePattern
System.FilePattern.Directory
other-modules:
System.FilePattern.Core
System.FilePattern.ListBy
System.FilePattern.Monads
System.FilePattern.Step
System.FilePattern.Tree
System.FilePattern.Wildcard
test-suite filepattern-test
default-language: Haskell2010
type: exitcode-stdio-1.0
main-is: Test.hs
hs-source-dirs: test
build-depends:
base == 4.*,
directory,
extra,
filepattern,
filepath,
QuickCheck >= 2.0
other-modules:
Test.Cases
Test.Util
|