MCPcopy Create free account
hub / github.com/AI45Lab/Code / exists

Method exists

core/src/store/file_store.rs:250–253  ·  view source on GitHub ↗
(&self, id: &str)

Source from the content-addressed store, hash-verified

248 }
249
250 async fn exists(&self, id: &str) -> Result<bool> {
251 let path = self.session_path(id);
252 Ok(path.exists())
253 }
254
255 async fn save_artifacts(&self, id: &str, artifacts: &ArtifactStore) -> Result<()> {
256 let artifact_dir = self.artifact_dir(id);

Callers 15

capture_snapshotMethod · 0.45
load_minimax_configFunction · 0.45
build_sessionFunction · 0.45
list_dirMethod · 0.45
normalize_absolute_pathFunction · 0.45
push_agents_md_contextFunction · 0.45
load_code_configFunction · 0.45
loadMethod · 0.45
deleteMethod · 0.45
load_artifactsMethod · 0.45
load_trace_eventsMethod · 0.45

Calls 1

session_pathMethod · 0.80

Tested by 1

load_minimax_configFunction · 0.36