Skip to content
Snippets Groups Projects
Commit c83ec7f2 authored by Colin Walters's avatar Colin Walters
Browse files

fdio: Expose wrappers for renameat2() EXCHANGE and NOREPLACE

I want the `RENAME_EXCHANGE` version for rpm-ostree, to atomically
swap `/usr/share/rpm` (a directory) with a new verison.  While
we're here we might as well expose `RENAME_NOREPLACE` in case
something else wants it.

These both have fallbacks to the non-atomic version.

Closes: https://github.com/GNOME/libglnx/pull/36
parent 5309e363
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment