Safe Haskell | None |
---|---|
Language | Haskell2010 |
Global sqlite database shared by all projects. Warning: this is currently only accessible from outside a Docker container.
- updateDockerImageLastUsed :: Config -> String -> FilePath -> IO ()
- getDockerImagesLastUsed :: Config -> IO [DockerImageLastUsed]
- pruneDockerImagesLastUsed :: Config -> [String] -> IO ()
- type DockerImageLastUsed = (String, [(UTCTime, FilePath)])
- type DockerImageProjectId = Key DockerImageProject
- getDockerImageExe :: Config -> String -> FilePath -> UTCTime -> IO (Maybe Bool)
- setDockerImageExe :: Config -> String -> FilePath -> UTCTime -> Bool -> IO ()
- type DockerImageExeId = Key DockerImageExe
Documentation
updateDockerImageLastUsed :: Config -> String -> FilePath -> IO () Source #
Update last used time and project for a Docker image hash.
getDockerImagesLastUsed :: Config -> IO [DockerImageLastUsed] Source #
Get a list of Docker image hashes and when they were last used.
pruneDockerImagesLastUsed :: Config -> [String] -> IO () Source #
Given a list of all existing Docker images, remove any that no longer exist from the database.
type DockerImageLastUsed = (String, [(UTCTime, FilePath)]) Source #
Date and project path where Docker image hash last used.
type DockerImageProjectId = Key DockerImageProject Source #
getDockerImageExe :: Config -> String -> FilePath -> UTCTime -> IO (Maybe Bool) Source #
Get the record of whether an executable is compatible with a Docker image
setDockerImageExe :: Config -> String -> FilePath -> UTCTime -> Bool -> IO () Source #
Seet the record of whether an executable is compatible with a Docker image
type DockerImageExeId = Key DockerImageExe Source #