cljrs-vcs
Purpose
Thin wrapper around the git CLI for versioned symbol resolution: locating
repository roots, fetching file content at a specific commit, validating commit
hashes, and managing the local dependency cache at ~/.cljrs/cache/git/.
Status
Phase 2 (implemented), extended in Phase 8. All git operations shell out to
the git binary; no libgit2 dependency. fetch_remote is called by
cljrs deps fetch; cache_path_for_url is used by cljrs deps status to
check cache presence without network access.
File layout
| File | Description |
|---|---|
src/lib.rs |
All public functions and VcsError type |
tests/versioning_harness.rs |
Integration test harness — two-repo fixture (library + app) covering all versioned-symbol resolution cases |
Public API
/// True if `s` is 7–40 lowercase or uppercase hex characters.