Skip to content

Commit

Permalink
Fix symlink windows function
Browse files Browse the repository at this point in the history
  • Loading branch information
patricoferris committed Mar 21, 2024
1 parent d7b65d2 commit ca9b02e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib_eio_windows/fs.ml
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ end = struct

let symlink t old_path new_path =
with_parent_dir t new_path @@ fun dirfd path ->
Err.run (Low_level.symlink dirfd old_path) path
Err.run (Low_level.symlink old_path dirfd) path

let close t = t.closed <- true

Expand Down

0 comments on commit ca9b02e

Please sign in to comment.