MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / read_package_json

Function read_package_json

tools/ci/src/main.rs:114–117  ·  view source on GitHub ↗
(path: &Path)

Source from the content-addressed store, hash-verified

112}
113
114fn read_package_json(path: &Path) -> Result<Value> {
115 let contents = fs::read_to_string(path)?;
116 Ok(serde_json::from_str(&contents)?)
117}
118
119fn is_npm_package_json(package_json: &Value) -> bool {
120 [

Callers 1

Calls 2

from_strFunction · 0.85
OkFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…