MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / main

Function main

experiments/benchmark/fetch_benchmark.py:62–69  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60
61
62def main() -> int:
63 args = parse_args()
64 print(f"[fetch] downloading {args.repo_id} (revision={args.revision or 'main'})")
65 snapshot = _snapshot(args.repo_id, args.revision)
66 print(f"[fetch] mirror {snapshot} -> {args.output_dir}")
67 _mirror(snapshot, args.output_dir)
68 print(f"[fetch] done: {args.output_dir}")
69 return 0
70
71
72if __name__ == "__main__":

Callers 1

fetch_benchmark.pyFile · 0.70

Calls 3

_snapshotFunction · 0.85
_mirrorFunction · 0.85
parse_argsFunction · 0.70

Tested by

no test coverage detected