Safe Haskell | None |
---|---|
Language | Haskell2010 |
Effectful functions executing shared image respository operations. See B9.Repository
- repoSearch :: FilePath -> FilePathGlob -> B9 [(Repository, [FilePath])]
- pushToRepo :: RemoteRepo -> FilePath -> FilePath -> B9 ()
- pullFromRepo :: RemoteRepo -> FilePath -> FilePath -> B9 ()
- pullGlob :: FilePath -> FilePathGlob -> RemoteRepo -> B9 ()
- data Repository
- toRemoteRepository :: RemoteRepo -> Repository
- data FilePathGlob = FileExtension String
Documentation
repoSearch :: FilePath -> FilePathGlob -> B9 [(Repository, [FilePath])] Source
Find files which are in subDir
and match glob
in the repository
cache. NOTE: This operates on the repository cache, but does not enforce a
repository cache update.
pushToRepo :: RemoteRepo -> FilePath -> FilePath -> B9 () Source
Push a file from the cache to a remote repository
pullFromRepo :: RemoteRepo -> FilePath -> FilePath -> B9 () Source
Pull a file from a remote repository to cache
pullGlob :: FilePath -> FilePathGlob -> RemoteRepo -> B9 () Source
Push a file from the cache to a remote repository
data Repository Source
toRemoteRepository :: RemoteRepo -> Repository Source
Convert a RemoteRepo
down to a mere Repository
data FilePathGlob Source
Express a pattern for file paths, used when searching repositories.