Safe Haskell | None |
---|---|
Language | Haskell2010 |
- type File = FilePath
- data DirTree = DirTree [File] [DirTree]
- newtype ExclusionPattern = ExclusionPattern Text
- newtype InclusionPattern = InclusionPattern Text
- data DockerIgnore = DockerIgnore {}
- newtype BuildContextRootDir = BuildContextRootDir FilePath
- makeBuildContext :: forall m. MonadIO m => BuildContextRootDir -> m (Either DockerError FilePath)
- makeBuildContext' :: forall m. MonadIO m => BuildContextRootDir -> m FilePath
- parseDockerIgnoreFile :: Text -> DockerIgnore
- getBuildContext :: BuildContextRootDir -> IO [FilePath]
- shouldInclude :: DockerIgnore -> FilterPredicate
- shouldRecurse :: DockerIgnore -> RecursionPredicate
- dockerIgnoreDecision :: (Bool, Bool) -> Bool
- exclusionCheck :: FilePath -> [ExclusionPattern] -> Bool
- inclusionCheck :: FilePath -> [InclusionPattern] -> Bool
Documentation
newtype ExclusionPattern Source #
newtype InclusionPattern Source #
data DockerIgnore Source #
newtype BuildContextRootDir Source #
makeBuildContext :: forall m. MonadIO m => BuildContextRootDir -> m (Either DockerError FilePath) Source #
makeBuildContext' :: forall m. MonadIO m => BuildContextRootDir -> m FilePath Source #
getBuildContext :: BuildContextRootDir -> IO [FilePath] Source #
.md
.md
exclusionCheck :: FilePath -> [ExclusionPattern] -> Bool Source #
inclusionCheck :: FilePath -> [InclusionPattern] -> Bool Source #