Builds the content of a cached template repository in repo.
repo
typedef CachedRepoBuilder = Future<void> Function(Directory repo);