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

Function source

atomic-repository/src/change_source/scan.rs:1003–1011  ·  view source on GitHub ↗
(root: &Path, paths: &[RepoPath])

Source from the content-addressed store, hash-verified

1001 }
1002
1003 fn source(root: &Path, paths: &[RepoPath]) -> ChangeSourceResult {
1004 ScanChangeSource
1005 .changes(ChangeSourceRequest {
1006 root,
1007 tracked_paths: paths,
1008 previous_token: None,
1009 })
1010 .unwrap()
1011 }
1012
1013 #[test]
1014 fn cold_and_warm_scans_produce_the_same_root_and_warm_avoids_content_reads() {

Calls 2

unwrapMethod · 0.45
changesMethod · 0.45