packToml : Body File body of all `pack.toml` files.
Totality: total
Visibility: exportdbDir : PackDirs => Path Abs Directory where databases are stored.
Totality: total
Visibility: exportcacheDir : PackDirs => Path Abs Directory where cached data is stored
Totality: total
Visibility: exportipkgCachePath : PackDirs => PkgName -> Commit -> File Rel -> File Abs Path to cached `.ipkg` file.
Totality: total
Visibility: exportversionCachePath : PackDirs => DB => File Abs Path where the cached compiler version is stored.
Totality: total
Visibility: exportcoreCachePath : PackDirs => DB => CorePkg -> File Abs Path to cached core library `.ipkg` file
Totality: total
Visibility: exportuserDir : PackDirs => Path Abs Directory where user settings are stored.
Totality: total
Visibility: exportglobalPackToml : PackDirs => File Abs Path to global `pack.toml` file.
Totality: total
Visibility: exportcollectionToml : PackDirs => File Abs Path to global `pack.toml` file containing the global pack collection.
Totality: total
Visibility: exportdbFile : PackDirs => MetaConfig => File Abs File where package DB is located
Totality: total
Visibility: exportpackBinDir : PackDirs => Path Abs Directory where wrapper scripts to binaries
managed by pack are being stored. The only exception
is pack itself, which is stored as a symbolic link.
Totality: total
Visibility: exportinstallDir : PackDirs => Path Abs Where packages and built applications will be installed
Totality: total
Visibility: exportpackParentDir : PackDirs => Path Abs Where all pack versions are installed
Totality: total
Visibility: exportpackInstallDir : PackDirs => Commit -> Path Abs Where the actual pack application is installed.
Totality: total
Visibility: exportpathExec : PackDirs => Body -> File Abs Executable for an application
Totality: total
Visibility: exportpackExec : PackDirs => File Abs Symbolic link to the current pack executable.
Totality: total
Visibility: exportpatchesDir : PackDirs => Path Abs Directory where `.ipkg` patches are stored.
Totality: total
Visibility: exportcommitsDir : PackDirs => Path Abs- Totality: total
Visibility: export commitFile : PackDirs => URL -> Branch -> File Abs Path to file storing the last fetched commit of a Git
repo given as a URL and branch name.
Totality: total
Visibility: exportpatchFile : PackDirs => Config => PkgName -> File Rel -> File Abs File where the patch (if any) for an `.ipkg` file is stored.
Totality: total
Visibility: exportcommitDir : PackDirs => DB => Path Abs Directory where all packages (and Idris2) built with the
current Idris2 commit will be installed.
Totality: total
Visibility: exportidrisPrefixDir : PackDirs => DB => Path Abs The directory where Idris2 and core libraries will be installed.
Totality: total
Visibility: exportidrisBinDir : PackDirs => DB => Path Abs The directory where the Idris2 binary will be installed.
Totality: total
Visibility: exportidrisExec : PackDirs => DB => File Abs Location of the Idris2 executable used to build packages.
Notice that if you need an Idris command, you may need `idrisCmd` function
instead because it takes extra arguments into account.
Totality: total
Visibility: exportidrisDir : DB => Body- Totality: total
Visibility: export idrisInstallDir : PackDirs => DB => Path Abs The directory where Idris2 packages will be installed.
Totality: total
Visibility: exportidrisLibDir : PackDirs => DB => Path Abs The `lib` directory in the Idris2 installation folder
Totality: total
Visibility: exportidrisDataDir : PackDirs => DB => Path Abs The `support` directory in the Idris2 installation folder
Totality: total
Visibility: exportpkgPrefixDir : PackDirs => DB => PkgName -> Hash -> Package -> Path Abs Directory where an installed library or app goes
Totality: total
Visibility: exportpkgPathDir : PackDirs => DB => PkgName -> Hash -> Package -> Path Abs Directory to be used with the `IDRIS2_PACKAGE_PATH` variable, so that
Idris finds a library even though it is being installed in a
custom location.
Totality: total
Visibility: exportpkgBinDir : PackDirs => DB => PkgName -> Hash -> Package -> Path Abs Directory where the binary of an Idris application is installed.
Totality: total
Visibility: exportpkgLibDir : PackDirs => DB => PkgName -> Hash -> Package -> Path Abs Directory to be used with the `IDRIS2_LIBS` variable, so that
Idris finds a libraries `.so` files even though they have been
installed in a custom location.
Totality: total
Visibility: exportpkgDataDir : PackDirs => DB => PkgName -> Hash -> Package -> Path Abs Directory to be used with the `IDRIS2_DATA` variable, so that
Idris finds a libraries support files even though they have been
installed in a custom location.
Totality: total
Visibility: exportlibTimestamp : PackDirs => DB => PkgName -> File Abs Timestamp used to monitor if a local library has been
modified and requires reinstalling.
Totality: total
Visibility: exportlocalSrcDir : Desc t -> Path Abs Directory where the sources of a local package are
stored.
Totality: total
Visibility: exportpkgInstallDir : PackDirs => DB => PkgName -> Hash -> Package -> Desc t -> Path Abs Returns the directory where a package for the current
package collection is installed.
Totality: total
Visibility: exportpkgDocs : PackDirs => DB => PkgName -> Hash -> Package -> Desc t -> Path Abs Directory where the API docs of the package will be installed.
Totality: total
Visibility: exportpkgExec : PackDirs => DB => PkgName -> Hash -> Package -> Body -> File Abs Location of an executable of the given name.
Totality: total
Visibility: exportresolvedExec : PackDirs => DB => ResolvedApp t -> File Abs Path to the executable of an Idris application
Totality: total
Visibility: exportpackRepo : Config => URL URL of the pack repository to use
Totality: total
Visibility: exportpackCommit : Config => Maybe Commit Commit of pack to use
Totality: total
Visibility: exportuseRacket : Config => Bool True if the path to the scheme executable actually points
to `racket`.
Totality: total
Visibility: exportbootstrapCmd : Config => String Bootstrap command to use
Totality: total
Visibility: exportprefixVar : PackDirs => DB => EnvVar `$PREFIX` variable during Idris2 installation, unquoted
Totality: total
Visibility: exportidrisBootVar : PackDirs => DB => EnvVar `$IDRIS2_BOOT` variable during Idris2 installation, unquoted
Totality: total
Visibility: exportschemeVar : Config => EnvVar `$SCHEME` variable during Idris2 installation, unquoted
Totality: total
Visibility: exportlibInstallPrefix : PackDirs => DB => ResolvedLib t -> List EnvVar `IDRIS2_PREFIX` to be used with Idris when installing a library
to a custom location.
Totality: total
Visibility: exportidrisCmd : Env => CmdArgList Idris executable with extra arguments, if they are present in the config.
Totality: total
Visibility: exportidrisWithCG : Env => CmdArgList Idris executable to use together with the
`--cg` (codegen) command line option.
Totality: total
Visibility: exportgetPackDirs : HasIO io => EitherT PackErr io PackDirs Return the path of the pack root directory,
either from environment variable `$PACK_DIR`, or
as `$HOME/.pack`.
Totality: total
Visibility: exportupdateDB : HasIO io => TmpDir => PackDirs => EitherT PackErr io () Update the package database.
Totality: total
Visibility: exportlatestCollection : HasIO io => Path Abs -> EitherT PackErr io DBName Extract the name of the latest collection from a directory
Totality: total
Visibility: exportcopyLatest : HasIO io => TmpDir => PackDirs => EitherT PackErr io DBName Update the package database.
Totality: total
Visibility: exportdefaultColl : HasIO io => TmpDir => PackDirs => EitherT PackErr io DBName Loads the name of the default collection (currently the latest
nightly)
Totality: total
Visibility: exportresolveMeta : HasIO io => PackDirs => Bool -> URL -> MetaCommit -> EitherT PackErr io Commit Resolve a meta commit by fetching the hash of the latest commit
from a Git repo in case of an `Fetch x` commit. In case of a `Latest x`
meta commit, the hash is only fetched, if the corresponding commit
file is missing or `fetch` is set to `True`.
Totality: total
Visibility: exportcollectionTomlContent : DBName -> String Content of pack-generated `pack.toml` containing the globally
set pack collection.
Totality: total
Visibility: exportgetConfig : (0 c : Type) -> {auto {conArg:7077} : Command c} -> ParsedArgs c -> HasIO io => PackDirs => TmpDir => EitherT PackErr io MetaConfig Read application config from command line arguments.
Visibility: exportgetLineBufferingCmd : HasIO io => io LineBufferingCmd- Totality: total
Visibility: export loadDB : HasIO io => TmpDir => PackDirs => MetaConfig -> EitherT PackErr io MetaDB Load the package collection as given in the (auto-implicit) user config.
Visibility: exportwithCoreGit : HasIO io => Env => (Path Abs -> EitherT PackErr io a) -> EitherT PackErr io a Run a pack action in the directory of the cloned Idris repository.
Totality: total
Visibility: exportcacheCoreIpkgFiles : HasIO io => Env => Path Abs -> EitherT PackErr io () Caches the `.ipkg` files of the core libraries to make them
quickly available when running queries.
Totality: total
Visibility: exportnotCached : HasIO io => Env => PkgName -> Package -> io Bool- Totality: total
Visibility: export cachePkg : HasIO io => Env => PkgName -> Package -> EitherT PackErr io ()- Totality: total
Visibility: export cachePkgs : HasIO io => Env => EitherT PackErr io PkgVersion- Totality: total
Visibility: export env : HasIO io => PackDirs => TmpDir => LibCache => LineBufferingCmd => MetaConfig -> FetchMethod -> EitherT PackErr io Env Load the package collection as given in the (auto-implicit) user config
and convert the result to a pack environment.
Visibility: exportwriteCollection : HasIO io => PackDirs => Config => EitherT PackErr io () Update the `collection` field in file `PACK_DIR/user/pack.toml`
with the name of the package collection given in config `c`.
Visibility: export