Git Module
Reading of git repository state for the type provider. Structure - ref, remote and submodule *names* - is read straight out of the `.git` directory at design time, so expanding the provided types never spawns a process. Volatile values - shas, dirtiness, anything needing object or history traversal - are deferred to the `Runtime` module, which shells out to `git` in the consuming program instead.
Types and nested modules
| Type/Module | Description |
|
Minimal (partial grammar support) reader for the git config format. |
|
|
Functions invoked from erased quotations - these run in the *consuming* program, not in the compiler, and must never throw. |
|
|
|
|
|
|
|
|
|
|
|
|
Functions and values
| Function or value |
Description
|
|
|
Full Usage:
refsUnder layout prefix
Parameters:
RepoLayout
prefix : string
Returns: Ref list
|
All refs under a prefix such as `refs/heads`, with loose refs shadowing anything of the same name in `packed-refs`.
|
|
|
|
|
|
|
Full Usage:
upstreamOf entries branch
Parameters:
Entry list
branch : string
Returns: string
|
The configured upstream of a local branch, in `remote/branch` shorthand.
|
Partas.TypeProvider