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

Function request

atomic-repository/src/change_source/selected.rs:198–204  ·  view source on GitHub ↗
(root: &'a Path, tracked: &'a [RepoPath])

Source from the content-addressed store, hash-verified

196 }
197
198 fn request<'a>(root: &'a Path, tracked: &'a [RepoPath]) -> ChangeSourceRequest<'a> {
199 ChangeSourceRequest {
200 root,
201 tracked_paths: tracked,
202 previous_token: None,
203 }
204 }
205
206 fn error(error: ChangeSourceError) -> Arc<dyn ChangeSource> {
207 Arc::new(FakeSource(Err(error)))

Calls

no outgoing calls