1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
//! What:
//! In-process reading and writing of the Git index file and its extensions.
//! Why:
//! The index format is one specification with many parts.
//!
//! In TS you'd write (pseudocode):
//! ```ts
//! // index/index.ts: one `export * from './file'` per module below.
//! ```
/// A read of the assume-unchanged and skip-worktree marks of an index file.
/// In-process index update: Git's EWAH bitmap, for the untracked-cache and fsmonitor extensions.
/// In-process index update: the cache-tree extension.
/// In-process index update: the resolve-undo extension.
/// In-process index update: stat fields and Git's varint.
/// In-process index update: the untracked-cache extension as directories, and its invalidation.
/// In-process index update: reading and writing the untracked-cache extension.
/// In-process index update: the fsmonitor extension.
/// In-process index update: a whole index file read into entries and kept extensions.
/// In-process index update: a whole index file written as Git writes it.
/// In-process index update: the configuration that decides the extensions and the decline cases.
/// In-process index update: a path-limited mixed reset of an index held in memory.
/// In-process index update: the trees a path-limited reset reads.
/// In-process index update: the lock proof, the temporary file and the file mode of the landing's private index.
/// In-process index update: the landing's follow-up on an index file.
/// Index files real Git wrote, for the controls of the readers and writers; never part of the release executable.
pub