MCPcopy Create free account
hub / github.com/Work-Fisher/code-claw / temp_dir

Function temp_dir

claw-code/rust/crates/runtime/src/remote.rs:264–270  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

262 use std::time::{SystemTime, UNIX_EPOCH};
263
264 fn temp_dir() -> PathBuf {
265 let nanos = SystemTime::now()
266 .duration_since(UNIX_EPOCH)
267 .expect("time should be after epoch")
268 .as_nanos();
269 std::env::temp_dir().join(format!("runtime-remote-{nanos}"))
270 }
271
272 #[test]
273 fn remote_context_reads_env_state() {

Calls 1

expectMethod · 0.80