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

Method log

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

Source from the content-addressed store, hash-verified

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