pub fn get_test_tree_dir(
repo: &Repo,
commit: &Commit<'_>,
) -> Result<PathBuf, RepoError>
Expand description
Get the directory where the result of tests for a particular commit are stored.
Tests are keyed by tree OID, not commit OID, so that they can be cached based on the contents of the commit, rather than its specific commit hash. This means that we can cache the results of tests for commits that have been amended or rebased.