Reading what a repository holds, through Git's own commands: the entries of a tree (with their sizes), the bytes of many objects in one call, and the digest a revision is made of. An object of Git is named by what it holds, so a digest kept for an object name is always right and never needs to be forgotten.
0 of 2 exports are imported by a test of the run. A test that imports an export may not call it or check what it returns.
Entrytypeno test imports ittype Entry = {
readonly mode: string;
readonly type: string;
readonly oid: string;
/** The size of a blob; nothing for a tree or a link to another repository. */
readonly size: number | undefined;
/** The path from the top of the tree, as the bytes of Git read as text. */
readonly name: string;
};
One entry of a tree of Git.
isRegularconstno test imports itconst isRegular: (e: Entry) => boolean
A file of the kind a store holds: not a link, not a folder, not another repository.