| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Docker.Client.Utils
- 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
makeBuildContext :: forall m. MonadIO m => BuildContextRootDir -> m (Either DockerError FilePath) #
makeBuildContext' :: forall m. MonadIO m => BuildContextRootDir -> m FilePath #
getBuildContext :: BuildContextRootDir -> IO [FilePath] #
.md
.md
dockerIgnoreDecision :: (Bool, Bool) -> Bool #
exclusionCheck :: FilePath -> [ExclusionPattern] -> Bool #
inclusionCheck :: FilePath -> [InclusionPattern] -> Bool #