MCPcopy Create free account
hub / github.com/dtormoen/tsk-tsk / test_create_dir

Function test_create_dir

src/file_system.rs:155–165  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

153
154 #[tokio::test]
155 async fn test_create_dir() {
156 let temp_dir = TempDir::new().unwrap();
157
158 let dir_path = temp_dir.path().join("test_dir");
159
160 // Create directory
161 create_dir(&dir_path).await.unwrap();
162
163 // Check exists
164 assert!(exists(&dir_path).await.unwrap());
165 }
166
167 #[tokio::test]
168 async fn test_copy_file() {

Callers

nothing calls this directly

Calls 2

create_dirFunction · 0.85
pathMethod · 0.80

Tested by

no test coverage detected