MCPcopy Index your code
hub / github.com/AI45Lab/Code / to_check

Method to_check

core/src/verification.rs:175–191  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

173 }
174
175 pub fn to_check(&self) -> VerificationCheck {
176 let check = if self.required {
177 VerificationCheck::required(
178 self.id.clone(),
179 self.kind.clone(),
180 self.description.clone(),
181 )
182 } else {
183 VerificationCheck::optional(
184 self.id.clone(),
185 self.kind.clone(),
186 self.description.clone(),
187 )
188 };
189
190 check.with_suggested_tools(["bash"])
191 }
192
193 pub fn check_from_execution(
194 &self,

Callers 1

check_from_executionMethod · 0.80

Calls 2

cloneMethod · 0.45
with_suggested_toolsMethod · 0.45

Tested by

no test coverage detected