Skip to content

Commit 4b58f8b

Browse files
committed
Fix comment about read_dir
1 parent a696a23 commit 4b58f8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib_eio_posix/fs.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ class virtual dir ~label = object (self)
102102
Err.run (Low_level.unlink ?dirfd ~dir:true) path
103103

104104
method read_dir path =
105-
(* todo: need readdirat and with_parent_dir here to avoid races *)
105+
(* todo: need fdopendir here to avoid races *)
106106
let path = self#resolve path in
107107
Err.run Low_level.readdir path
108108
|> Array.to_list

0 commit comments

Comments
 (0)