Skip to main content

Module scratch_index

Module scratch_index 

Source

Structs§

Record
One verified clone, described the way the index describes it.

Enums§

Error
The error a scratch index write can fail with. Every one of them is survivable: without the index git simply checks the whole tree out.

Constants§

SUPPORTED_VERSION
The only index version this writes. Git keeps whatever version it reads, so a repository asking for any other version is left to check itself out.

Functions§

default_version
The version git would give a fresh index, following the same order git does.
write
Writes records as the index at index_path, replacing whatever is there.