MCPcopy Index your code
hub / github.com/Commit-Boost/commit-boost-client / get_status

Method get_status

examples/status_api/src/main.rs:61–66  ·  view source on GitHub ↗
(req_headers: HeaderMap, state: PbsState<MyBuilderState>)

Source from the content-addressed store, hash-verified

59#[async_trait]
60impl BuilderApi<MyBuilderState> for MyBuilderApi {
61 async fn get_status(req_headers: HeaderMap, state: PbsState<MyBuilderState>) -> Result<()> {
62 state.data.inc();
63 info!("THIS IS A CUSTOM LOG");
64 CHECK_RECEIVED_COUNTER.inc();
65 get_status(req_headers, state).await
66 }
67
68 async fn reload(state: PbsState<MyBuilderState>) -> Result<PbsState<MyBuilderState>> {
69 let (pbs_config, extra_config) = load_pbs_custom_config::<ExtraConfig>().await?;

Callers

nothing calls this directly

Calls 2

get_statusFunction · 0.85
incMethod · 0.80

Tested by

no test coverage detected