![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
Public Member Functions | |
| void | directoryDone (Descriptor dirFd) override |
| Called when the callback passed to nix::RestoreSink::createDirectory() returns. | |
| void | regularFileCreated (Descriptor fd, bool executable) override |
| void | symlinkCreated (Descriptor parentFd, const OsFilename &name) override |
| Called after a symlink is created. | |
|
inlineoverridevirtual |
Called when the callback passed to nix::RestoreSink::createDirectory() returns.
Naturally, this means that recursive copying and nix::restorePath() drives these in post-order when walking up the directory tree. This makes it suitable for canonicalising permissions of directories.
| dirFd | File descriptor of the directory. |
Implements nix::RestoreSinkHooks.
|
inlineoverridevirtual |
Called when the callback passed to nix::RestoreSink::createRegularFile() returns.
| fd | File descriptor of the file. |
| executable | Whether nix::CreateRegularFileSink::isExecutable() was called. |
Implements nix::RestoreSinkHooks.
|
inlineoverridevirtual |
Called after a symlink is created.
| parentFd | Directory file descriptor of the symlink parent (immediate one). |
| name | Relative path of the symlink beneath the parent directory. |
Implements nix::RestoreSinkHooks.