Expand description
Locating the repository and reading its state — without spawning git.
Spawning is not an option: git starts a fresh filter process per operation and the binary is required to be self-contained, so every answer here comes from a library.
Structs§
- Repo
- A discovered repository.
Constants§
- ATTRIBUTES_
FILE - The attributes file git actually reads.
- CONFIG_
FILE - Name of the versioned configuration file listing what to encrypt.
- DRIVER
- Name of the filter driver as registered in
.git/config. - KEY_
ENVELOPE_ DIR - Directory holding key envelopes, once recipients exist. Never encrypted.
Functions§
- git_
spelling - Renders a path the way git spells one: forward slashes on every platform.
- lexically_
normal - Resolves
.and..without touching the filesystem. - working_
tree_ path - The working-tree path an index entry names, without decoding it.