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

Method export_provenance

atomic-cli/src/service/mod.rs:1440–1460  ·  view source on GitHub ↗
(
        &self,
        request: pb::ExportProvenanceRequest,
    )

Source from the content-addressed store, hash-verified

1438 }
1439
1440 pub fn export_provenance(
1441 &self,
1442 request: pb::ExportProvenanceRequest,
1443 ) -> CliResult<pb::ExportProvenanceResponse> {
1444 self.call(move |backend| async move {
1445 match backend {
1446 Backend::Local(state) => services_agent::ProvenanceImpl { state }
1447 .export_provenance(Request::new(request))
1448 .await
1449 .map(|response| response.into_inner()),
1450 Backend::Reactor(channel) => {
1451 let mut provenance =
1452 pb::provenance_service_client::ProvenanceServiceClient::new(channel);
1453 provenance
1454 .export_provenance(request)
1455 .await
1456 .map(|response| response.into_inner())
1457 }
1458 }
1459 })
1460 }
1461
1462 pub fn fork_session(
1463 &self,

Callers 1

Calls 2

callMethod · 0.45
into_innerMethod · 0.45

Tested by

no test coverage detected