Nikita Karetnikov <nik...@karetnikov.org> skribis:

>> It should be based on rename(2) to be atomic.  See the ‘switchLink’
>> function in Nix for how to do it.
>
> Could you elaborate? Should I call C from Guile?

No no, Scheme code can use ‘rename-file’, which calls rename(2).

Ludo’.

Reply via email to