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

Method get_project_identity

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

Source from the content-addressed store, hash-verified

1239
1240impl Service {
1241 pub fn get_project_identity(
1242 &self,
1243 request: pb::GetProjectIdentityRequest,
1244 ) -> CliResult<pb::GetProjectIdentityResponse> {
1245 self.call(move |backend| async move {
1246 match backend {
1247 Backend::Local(state) => services_agent::KnowledgeImpl { state }
1248 .get_project_identity(Request::new(request))
1249 .await
1250 .map(|response| response.into_inner()),
1251 Backend::Reactor(channel) => {
1252 pb::knowledge_service_client::KnowledgeServiceClient::new(channel)
1253 .get_project_identity(request)
1254 .await
1255 .map(|response| response.into_inner())
1256 }
1257 }
1258 })
1259 }
1260
1261 pub fn get_workflow_snapshot(
1262 &self,

Callers 1

showMethod · 0.45

Calls 2

callMethod · 0.45
into_innerMethod · 0.45

Tested by

no test coverage detected