MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / census_classes

Function census_classes

atomic-cli/src/commands/git/census.rs:42–50  ·  view source on GitHub ↗

Enumerate the census classes. `view_name` is the desired view of the inspecting working copy; its full history anchors the change coverage class.

(repo: &Repository, root: &Path, view_name: &str)

Source from the content-addressed store, hash-verified

40/// inspecting working copy; its full history anchors the change coverage
41/// class.
42pub(crate) fn census_classes(repo: &Repository, root: &Path, view_name: &str) -> Vec<CensusClass> {
43 vec![
44 change_coverage_class(repo, view_name),
45 binding_census_class(repo),
46 working_copy_census_class(repo, view_name),
47 wip_census_class(repo, root),
48 ref_mapping_census_class(repo, root, view_name),
49 ]
50}
51
52/// Every change in the desired view's effective history loads from the
53/// change store.

Callers 1

verifyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected