The repo's default branch: origin/HEAD when set, else main/master (local,
then remote-tracking — CI checkouts detach HEAD with no local branches),
else the current HEAD's branch.
Object id of rev:path — a tree for a directory, a blob for a file — or
null when that path does not exist at that rev. Content identity without
reading the content: two revs naming the same tree carry byte-identical
directories.
Parameters
rev: string
path: string
Returns Promise<null|string>
remoteUrl
remoteUrl(name:string):Promise<null|string>
A remote's URL as git resolves it — git remote get-url, which applies
the operator's url.<base>.insteadOf rewrites — or null when there is no
such remote. What a repository's id is derived from (#494).
Parameters
name: string
Returns Promise<null|string>
revListCount
revListCount(range:string):Promise<null|number>
git rev-list --count <range>, or null when a ref in the range is unknown.
The repo's default branch: origin/HEAD when set, else main/master (local, then remote-tracking — CI checkouts detach HEAD with no local branches), else the current HEAD's branch.