summaryrefslogtreecommitdiff
path: root/src/buildtool/computed_roots/artifacts_root.cpp
AgeCommit message (Collapse)Author
2024-12-04ArtifactsRoot: support rehash-functionKlaus Aehlig
When constructing a git tree out of an artifact stage, support rehashing the artifact digests on the fly, so that artifact stages not based on GitSHA1 can be supported as well.
2024-11-28computed roots: restrict in-memory root computation to the supported casesKlaus Aehlig
... and, in this way, avoid git-tree computations with invalid git identifiers.
2024-11-27Add a library computing, in memory, a git tree from a stageKlaus Aehlig
Computed roots are given as the artifacts stage of a target. However, to be usable as a root, we need the git tree identifier of that root. Therefore, add a library doing this computation, avoiding file-system operations whenever possible.