-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | A ctags file generator for cabal project dependencies.
--
-- This tool download and cache the source code of packages in your local
-- hackage, it can then use this cache to generate tags files
-- aggregating the sources of all the dependencies of your cabal/stack
-- projects.
--
-- You basically do `codex update` in your project directory and you'll
-- get a file (`codex.tags` by default, or TAGS when using emacs
-- format) that you can use in your favorite text editor.
--
-- Usage overview can be found in the README.
@package codex
@version 0.4.0.6
module Codex.Internal
defaultTagsFileName :: FilePath
data Builder
Cabal :: Builder
Stack :: Builder
data Codex
Codex :: Bool -> FilePath -> String -> Bool -> Bool -> FilePath -> Codex
[currentProjectIncluded] :: Codex -> Bool
[hackagePath] :: Codex -> FilePath
[tagsCmd] :: Codex -> String
[tagsFileHeader] :: Codex -> Bool
[tagsFileSorted] :: Codex -> Bool
[tagsFileName] :: Codex -> FilePath
hackagePathOf :: Builder -> Codex -> FilePath
packagePath :: FilePath -> PackageIdentifier -> FilePath
packageArchive :: FilePath -> PackageIdentifier -> FilePath
packageSources :: FilePath -> PackageIdentifier -> FilePath
packageTags :: FilePath -> PackageIdentifier -> FilePath
packageUrl :: PackageIdentifier -> String
removePrefix :: String -> String -> Maybe String
readStackPath :: String -> IO String
instance GHC.Generics.Selector Codex.Internal.S1_0_5Codex
instance GHC.Generics.Selector Codex.Internal.S1_0_4Codex
instance GHC.Generics.Selector Codex.Internal.S1_0_3Codex
instance GHC.Generics.Selector Codex.Internal.S1_0_2Codex
instance GHC.Generics.Selector Codex.Internal.S1_0_1Codex
instance GHC.Generics.Selector Codex.Internal.S1_0_0Codex
instance GHC.Generics.Constructor Codex.Internal.C1_0Codex
instance GHC.Generics.Datatype Codex.Internal.D1Codex
instance GHC.Show.Show Codex.Internal.Codex
instance GHC.Generics.Generic Codex.Internal.Codex
instance Data.Aeson.Types.Class.ToJSON Codex.Internal.Codex
instance Data.Aeson.Types.Class.FromJSON Codex.Internal.Codex
module Distribution.Sandbox.Utils
findSandbox :: FilePath -> IO (Maybe FilePath)
readSandboxSources :: FilePath -> IO [FilePath]
module Codex.Project
newtype Workspace
Workspace :: [WorkspaceProject] -> Workspace
data WorkspaceProject
WorkspaceProject :: PackageIdentifier -> FilePath -> WorkspaceProject
[workspaceProjectIdentifier] :: WorkspaceProject -> PackageIdentifier
[workspaceProjectPath] :: WorkspaceProject -> FilePath
type ProjectDependencies = (PackageIdentifier, [PackageIdentifier], [WorkspaceProject])
identifier :: GenericPackageDescription -> PackageIdentifier
allDependencies :: GenericPackageDescription -> [Dependency]
findPackageDescription :: FilePath -> IO (Maybe GenericPackageDescription)
resolveCurrentProjectDependencies :: Builder -> FilePath -> IO ProjectDependencies
resolveProjectDependencies :: Builder -> Workspace -> FilePath -> FilePath -> IO ProjectDependencies
resolveInstalledDependencies :: Builder -> FilePath -> GenericPackageDescription -> IO (Either SomeException [PackageIdentifier])
resolveHackageDependencies :: Hackage -> GenericPackageDescription -> [GenericPackageDescription]
resolvePackageDependencies :: Builder -> FilePath -> FilePath -> GenericPackageDescription -> IO [PackageIdentifier]
resolveSandboxDependencies :: FilePath -> IO [WorkspaceProject]
resolveWorkspaceDependencies :: Workspace -> GenericPackageDescription -> [WorkspaceProject]
readWorkspaceProject :: FilePath -> IO (Maybe WorkspaceProject)
getWorkspace :: FilePath -> IO Workspace
instance GHC.Show.Show Codex.Project.Workspace
instance GHC.Classes.Eq Codex.Project.Workspace
instance GHC.Show.Show Codex.Project.WorkspaceProject
instance GHC.Classes.Eq Codex.Project.WorkspaceProject
module Codex
data Codex
Codex :: Bool -> FilePath -> String -> Bool -> Bool -> FilePath -> Codex
[currentProjectIncluded] :: Codex -> Bool
[hackagePath] :: Codex -> FilePath
[tagsCmd] :: Codex -> String
[tagsFileHeader] :: Codex -> Bool
[tagsFileSorted] :: Codex -> Bool
[tagsFileName] :: Codex -> FilePath
defaultTagsFileName :: FilePath
data Verbosity :: *
replace :: String -> String -> String -> String
md5hash :: String -> String
data Tagging
Tagged :: Tagging
Untagged :: Tagging
fromBool :: Bool -> Tagging
data Status
Source :: Tagging -> Status
Archive :: Status
Remote :: Status
type Action = EitherT String IO
data Tagger
Ctags :: Tagger
Hasktags :: Tagger
HasktagsEmacs :: Tagger
HasktagsExtended :: Tagger
taggerCmd :: Tagger -> String
taggerCmdRun :: Codex -> FilePath -> FilePath -> Action FilePath
tryIO :: IO a -> Action a
codexHash :: Codex -> String
dependenciesHash :: [PackageIdentifier] -> String
tagsFileHash :: Codex -> [PackageIdentifier] -> String -> String
computeCurrentProjectHash :: Codex -> IO String
isUpdateRequired :: Codex -> [PackageIdentifier] -> String -> Action Bool
status :: FilePath -> PackageIdentifier -> Action Status
fetch :: Session -> FilePath -> PackageIdentifier -> Action FilePath
openLazyURI :: Session -> String -> IO (Either String ByteString)
extract :: FilePath -> PackageIdentifier -> Action FilePath
tags :: Builder -> Codex -> PackageIdentifier -> Action FilePath
assembly :: Builder -> Codex -> [PackageIdentifier] -> String -> [WorkspaceProject] -> FilePath -> Action FilePath
instance GHC.Read.Read Codex.Tagger
instance GHC.Show.Show Codex.Tagger
instance GHC.Classes.Eq Codex.Tagger
instance GHC.Show.Show Codex.Status
instance GHC.Classes.Eq Codex.Status
instance GHC.Show.Show Codex.Tagging
instance GHC.Classes.Eq Codex.Tagging