#include <fs-sink.hh>
Public Member Functions | |
RestoreSink (bool startFsync) | |
void | createDirectory (const CanonPath &path) override |
void | createRegularFile (const CanonPath &path, std::function< void(CreateRegularFileSink &)>) override |
void | createSymlink (const CanonPath &path, const std::string &target) override |
Public Attributes | |
std::filesystem::path | dstPath |
bool | startFsync = false |
Write files at the given path
|
overridevirtual |
Implements nix::FileSystemObjectSink.
|
overridevirtual |
This function in general is no re-entrant. Only one file can be written at a time.
Implements nix::FileSystemObjectSink.
|
overridevirtual |
Implements nix::FileSystemObjectSink.