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

Method export_provenance

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

Source from the content-addressed store, hash-verified

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

Callers 1

Calls 2

callMethod · 0.45
into_innerMethod · 0.45

Tested by

no test coverage detected