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

Method ensure_record_file_options

atomic-cli/src/service/mod.rs:588–601  ·  view source on GitHub ↗

Check before `record --all` stages any files on an older Reactor.

(&self)

Source from the content-addressed store, hash-verified

586
587 /// Check before `record --all` stages any files on an older Reactor.
588 pub fn ensure_record_file_options(&self) -> CliResult<()> {
589 self.call(move |backend| async move {
590 match backend {
591 Backend::Local(_) => Ok(()),
592 Backend::Reactor(channel) => {
593 let capabilities = pb::daemon_service_client::DaemonServiceClient::new(channel)
594 .get_capabilities(pb::GetCapabilitiesRequest {})
595 .await?
596 .into_inner();
597 require_record_file_options(&capabilities)
598 }
599 }
600 })
601 }
602
603 pub fn remove_files(
604 &self,

Callers 1

recordFunction · 0.80

Calls 4

get_capabilitiesMethod · 0.80
callMethod · 0.45
into_innerMethod · 0.45

Tested by

no test coverage detected