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

Function unknown_triage_view

libatomic/src/daemon/services_triage.rs:74–84  ·  view source on GitHub ↗
(repo: &Repository, name: &str, arg: &str)

Source from the content-addressed store, hash-verified

72}
73
74fn unknown_triage_view(repo: &Repository, name: &str, arg: &str) -> Status {
75 domain_status(
76 ErrorCode::InvalidArgument,
77 format!(
78 "No view named '{name}' — {arg} takes a real view name, not a placeholder.\n \
79 Current view is '{}'; omit {arg} to triage that instead, or run \
80 'atomic view list' to see all views.",
81 repo.current_view()
82 ),
83 )
84}
85
86#[tonic::async_trait]
87impl triage_service_server::TriageService for TriageImpl {

Callers 2

resolve_triage_viewsFunction · 0.85
require_triage_viewFunction · 0.85

Calls 1

domain_statusFunction · 0.85

Tested by

no test coverage detected