MCPcopy Create free account
hub / github.com/douglance/devsql / load

Method load

crates/ccql/src/datasources/stats.rs:15–17  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

13 }
14
15 pub async fn load(&self) -> Result<StatsCache> {
16 streaming::read_json(self.config.stats_file()).await
17 }
18
19 pub async fn load_raw(&self) -> Result<serde_json::Value> {
20 streaming::read_json(self.config.stats_file()).await

Callers 1

statsFunction · 0.80

Calls 2

read_jsonFunction · 0.85
stats_fileMethod · 0.80

Tested by

no test coverage detected