b9-0.2.4: A tool and library for building virtual machine images.

Safe HaskellNone
LanguageHaskell2010

B9.RepositoryIO

Description

Effectful functions executing shared image respository operations. See B9.Repository

Synopsis

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 FilePathGlob Source

Express a pattern for file paths, used when searching repositories.

Constructors

FileExtension String