![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
#include <memory-source-accessor.hh>
Public Member Functions | |
| MemorySink (MemorySourceAccessor &dst) | |
| void | createDirectory (const CanonPath &path) override |
| void | createRegularFile (const CanonPath &path, fun< void(CreateRegularFileSink &)>) override |
| void | createSymlink (const CanonPath &path, const std::string &target) override |
| Public Member Functions inherited from nix::FileSystemObjectSink | |
| virtual void | createDirectory (const CanonPath &path, DirectoryCreatedCallback callback) |
Public Attributes | |
| MemorySourceAccessor & | dst |
Additional Inherited Members | |
| Public Types inherited from nix::FileSystemObjectSink | |
| using | DirectoryCreatedCallback = fun<void(FileSystemObjectSink & dirSink, const CanonPath & dirRelPath)> |
Write to a MemorySourceAccessor 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.