Skip to content

Commit 1c495ad

Browse files
authored
Merge pull request #92 from kinode-dao/bp/openorcreate
vfs: open_or_create
2 parents 631d346 + 87eb664 commit 1c495ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vfs/directory.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ pub fn open_dir(path: &str, create: bool, timeout: Option<u64>) -> Result<Direct
6767
});
6868
}
6969

70-
let message = vfs_request(path, VfsAction::CreateDir)
70+
let message = vfs_request(path, VfsAction::CreateDirAll)
7171
.send_and_await_response(timeout)
7272
.unwrap()
7373
.map_err(|e| VfsError::IOError {

0 commit comments

Comments
 (0)