torchfont.io.gitΒΆ

Internal helpers for synchronizing Git repositories with progress reporting.

Functions

ensure_repo(root, url, ref, *, download)

Ensure root hosts ref and return the synced commit hash.