debian-3.23: Modules for working with the Debian package systemSource codeContentsIndex
Debian.Repo.LocalRepository
Synopsis
setRepositoryCompatibility :: LocalRepository -> IO ()
poolDir :: LocalRepository -> Section -> String -> FilePath
flushLocalRepository :: CIO m => LocalRepository -> AptIOT m LocalRepository
prepareLocalRepository :: CIO m => EnvPath -> Maybe Layout -> AptIOT m LocalRepository
readLocalRepo :: CIO m => EnvPath -> Maybe Layout -> AptIOT m LocalRepository
parseReleaseFile :: CIO m => FilePath -> ReleaseName -> [ReleaseName] -> m ReleaseInfo
parseRelease :: FilePath -> ByteString -> ReleaseName -> [ReleaseName] -> ReleaseInfo
makeReleaseInfo :: FilePath -> Paragraph -> ReleaseName -> [ReleaseName] -> ReleaseInfo
computeLayout :: FilePath -> IO (Maybe Layout)
Documentation
setRepositoryCompatibility :: LocalRepository -> IO ()Source
Create or update the compatibility level file for a repository.
poolDir :: LocalRepository -> Section -> String -> FilePathSource
Return the subdirectory where a source package with the given section and name would be installed given the layout of the repository.
flushLocalRepository :: CIO m => LocalRepository -> AptIOT m LocalRepositorySource
Remove all the packages from the repository and then re-create the empty releases.
prepareLocalRepository :: CIO m => EnvPath -> Maybe Layout -> AptIOT m LocalRepositorySource
Create or verify the existance of the directories which will hold a repository on the local machine. Verify the index files for each of its existing releases.
readLocalRepo :: CIO m => EnvPath -> Maybe Layout -> AptIOT m LocalRepositorySource
parseReleaseFile :: CIO m => FilePath -> ReleaseName -> [ReleaseName] -> m ReleaseInfoSource
parseRelease :: FilePath -> ByteString -> ReleaseName -> [ReleaseName] -> ReleaseInfoSource
makeReleaseInfo :: FilePath -> Paragraph -> ReleaseName -> [ReleaseName] -> ReleaseInfoSource
computeLayout :: FilePath -> IO (Maybe Layout)Source
Try to determine a repository's layout.
Produced by Haddock version 2.4.2