MCPcopy Index your code
hub / github.com/clearloop/leetcode-cli / conn

Method conn

src/cache/mod.rs:38–40  ·  view source on GitHub ↗

Ref to sqlite connection

(&self)

Source from the content-addressed store, hash-verified

36impl Cache {
37 /// Ref to sqlite connection
38 fn conn(&self) -> Result<SqliteConnection, Error> {
39 Ok(conn(self.0.conf.storage.cache()?))
40 }
41
42 /// Clean cache
43 pub fn clean(&self) -> Result<(), Error> {

Callers 7

download_problemsMethod · 0.80
get_problemMethod · 0.80
get_problemsMethod · 0.80
get_questionMethod · 0.80
get_tagged_questionsMethod · 0.80
get_tagsMethod · 0.80

Calls 2

connFunction · 0.85
cacheMethod · 0.80

Tested by

no test coverage detected