]> Cypherpunks.ru repositories - goredo.git/blob - doc/state.texi
db32628f5c51e4e8a19a178bbdf041c410c7f62e
[goredo.git] / doc / state.texi
1 @node State
2 @cindex storage
3 @cindex state
4 @unnumbered State
5
6 Dependency and build state is kept inside @file{.redo} subdirectory in
7 each directory related the build. Each corresponding target has its own,
8 recreated with every rebuild, @file{.rec} file. It is
9 @url{https://www.gnu.org/software/recutils/, recfile}, that could have
10 various dependency information. For example:
11
12 @example
13 Build: 80143f04-bfff-4673-950c-081d712f573d
14
15 Type: ifcreate
16 Target: foo.o.do
17
18 Type: ifchange
19 Target: default.o.do
20 Size: 123
21 CtimeSec: 1605721341
22 CtimeNsec: 253305000
23 Hash: f4929732f96f11e6d4ebe94536b5edef426d00ed0146853e37a87f4295e18eda
24
25 Type: always
26
27 Type: stamp
28 Hash: 5bbdf635932cb16b9127e69b6f3872577efed338f0a4ab6f2c7ca3df6ce50cc9
29 @end example
30
31 And the schema definition:
32 @verbatiminclude ../dep.rec