pub const OBJECT_MISSING_PREFIX: &str = "cli-git could not read candidate content: Git has no object ";Expand description
What:
The start of the message for a candidate object that Git does not have; the object name follows.
Why:
A commit the service takes reads its content back through the policies, and an object removed meanwhile (a pruning
git gc) fails there. The commit path recognizes that message by this start, so the producer and the reader of
the text cannot drift apart.
In TS you’d write (pseudocode):
const OBJECT_MISSING_PREFIX = 'cli-git could not read candidate content: Git has no object ';