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

Method log

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

Source from the content-addressed store, hash-verified

341 }
342
343 pub fn log(&self, request: pb::LogRequest) -> CliResult<pb::LogResponse> {
344 // all_views / path_filter / tags_only ride the request as-is.
345 self.call(move |backend| async move {
346 match backend {
347 Backend::Local(state) => services::QueryImpl { state }
348 .log(Request::new(request))
349 .await
350 .map(|response| response.into_inner()),
351 Backend::Reactor(channel) => {
352 let mut query =
353 pb::repository_query_service_client::RepositoryQueryServiceClient::new(
354 channel,
355 );
356 query
357 .log(request)
358 .await
359 .map(|response| response.into_inner())
360 }
361 }
362 })
363 }
364
365 pub fn get_change(&self, request: pb::GetChangeRequest) -> CliResult<pb::GetChangeResponse> {
366 self.call(move |backend| async move {

Callers 15

logFunction · 0.45
changeFunction · 0.45
diff_changeFunction · 0.45
log_entriesFunction · 0.45
resolve_change_hashFunction · 0.45
resolve_referenceMethod · 0.45
find_by_hashMethod · 0.45
display_dry_runMethod · 0.45
runMethod · 0.45
runMethod · 0.45
print_coverageMethod · 0.45
runMethod · 0.45

Calls 2

callMethod · 0.45
into_innerMethod · 0.45