Skip to content

Conversation

patricoferris
Copy link
Contributor

Adds mkdirat to the Uring API.

Copy link
Collaborator

@talex5 talex5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good - thanks!

(I pushed a fix for the doc comment)

val mkdirat : 'a t -> mode:Unix.file_perm -> ?fd:Unix.file_descr -> string -> 'a -> 'a job option
(** [mkdirat t ~mode ~fd path] makes a directory [path], which is resolved relative to [fd].
If [fd] is not given, then the current working directory is used.
@ param mode The mode used to create the directory. *)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
@ param mode The mode used to create the directory. *)
@param mode The mode used to create the directory. *)

@talex5 talex5 merged commit 698ad36 into ocaml-multicore:main Sep 1, 2025
1 check passed
avsm added a commit to avsm/opam-repository that referenced this pull request Sep 27, 2025
CHANGES:

- Fix use-after-free data race in CQE handlers (@avsm ocaml-multicore/ocaml-uring#124, reported ocaml-multicore/ocaml-uring#123 by @polytypic).

- Add socket bind and listen operations (@avsm ocaml-multicore/ocaml-uring#118).

- Update liburing to 2.7 (@avsm ocaml-multicore/ocaml-uring#118).

- Add `Uring.Setup_flags` module (@talex5 ocaml-multicore/ocaml-uring#122).

- Clean up configurator code and update primitives.h (@talex5 ocaml-multicore/ocaml-uring#121).

- Add `mkdirat` operation (@patricoferris ocaml-multicore/ocaml-uring#120).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants