MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / test_exists

Function test_exists

crates/opencode-util/src/filesystem.rs:148–151  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

146
147 #[tokio::test]
148 async fn test_exists() {
149 assert!(Filesystem::exists(".").await);
150 assert!(!Filesystem::exists("/nonexistent_path_12345").await);
151 }
152
153 #[tokio::test]
154 async fn test_is_dir() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected