MCPcopy Create free account
hub / github.com/clearloop/leetcode-cli / recur_verify

Method recur_verify

src/cache/mod.rs:326–337  ·  view source on GitHub ↗

TODO: The real delay

(&self, rid: String)

Source from the content-addressed store, hash-verified

324
325 /// TODO: The real delay
326 async fn recur_verify(&self, rid: String) -> Result<VerifyResult, Error> {
327 use std::time::Duration;
328
329 trace!("Run verify recursion...");
330 std::thread::sleep(Duration::from_micros(3000));
331
332 let json: VerifyResult = self
333 .resp_to_json(self.clone().0.verify_result(rid.clone()).await?)
334 .await?;
335
336 Ok(json)
337 }
338
339 /// Exec problem filter —— Test or Submit
340 pub async fn exec_problem(

Callers 1

exec_problemMethod · 0.80

Calls 2

resp_to_jsonMethod · 0.80
verify_resultMethod · 0.80

Tested by

no test coverage detected