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

Method read

crates/core/src/config.rs:57–59  ·  view source on GitHub ↗
(path: &MetadataTomlPath)

Source from the content-addressed store, hash-verified

55 }
56
57 pub fn read(path: &MetadataTomlPath) -> anyhow::Result<Option<Self>> {
58 parse_config(path.as_ref())
59 }
60
61 pub fn write(&self, path: &MetadataTomlPath) -> io::Result<()> {
62 path.write(self.to_string())

Callers 15

git_tracked_filesFunction · 0.45
tracked_rs_files_underFunction · 0.45
run_publish_checksFunction · 0.45
mainFunction · 0.45
readLoopFunction · 0.45
setupCLIFunction · 0.45
heap_usageMethod · 0.45
pid_fileMethod · 0.45
get_or_create_keysFunction · 0.45
update_gaugesMethod · 0.45

Calls 2

parse_configFunction · 0.85
as_refMethod · 0.45

Tested by 1