blob: c4d60d81d076317c17a543aaac45638e912fbae7 (
plain)
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
/* Commanly used, give a name */
type Metadata [string] variant;
type Checksum []byte;
type RefInfo {
commit_size: uint64;
checksum: Checksum;
metadata: Metadata;
};
/* Note: RefMaps are sorted by ref */
type RefMap [] 'RefMapEntry {
ref: string;
info: RefInfo;
};
type Summary {
ref_map: RefMap;
metadata: Metadata;
};
type CollectionMap [sorted string] RefMap;
type Commit {
metadata: Metadata;
parent: Checksum;
related: [] 'Related {
ref: string;
commit: Checksum;
};
subject: string;
body: string;
timestamp: bigendian uint64;
root_contents: Checksum;
root_metadata: Checksum;
};
type Cache [sorted string] 'CacheData {
installed_size: bigendian uint64;
download_size: bigendian uint64;
metadata: string;
};
type SparseCache [sorted string] Metadata;
type CommitsCache []Checksum;
type DeployData {
origin: string;
commit: string;
subpaths: []string;
installed_size: bigendian uint64;
metadata: Metadata;
};
type ContentRating {
rating_type: string;
ratings: 'Ratings [string] string;
};
type ExtraDataSize {
n_extra_data: littleendian uint32;
total_size: littleendian uint64;
};
type Subsummary {
checksum: Checksum;
history: []Checksum;
metadata: Metadata;
};
type SummaryIndex {
subsummaries: [sorted string]Subsummary;
metadata: Metadata;
};
type ObjectListInfo {
is_loose: boolean;
packfiles: []string;
};
type ObjectName {
checksum: string;
objtype: uint32;
};
type ObjectNames []ObjectName;
|