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

Method clean

src/cache/mod.rs:43–45  ·  view source on GitHub ↗

Clean cache

(&self)

Source from the content-addressed store, hash-verified

41
42 /// Clean cache
43 pub fn clean(&self) -> Result<(), Error> {
44 Ok(std::fs::remove_file(self.0.conf.storage.cache()?)?)
45 }
46
47 /// ref to download problems
48 pub async fn update(self) -> Result<(), Error> {

Callers 1

runMethod · 0.80

Calls 1

cacheMethod · 0.80

Tested by

no test coverage detected