#include <fs-sink.hh>
Public Member Functions | |
virtual void | createHardlink (const CanonPath &path, const CanonPath &target)=0 |
![]() | |
virtual void | createDirectory (const CanonPath &path)=0 |
virtual void | createRegularFile (const CanonPath &path, std::function< void(CreateRegularFileSink &)>)=0 |
virtual void | createSymlink (const CanonPath &path, const std::string &target)=0 |
An extension of FileSystemObjectSink
that supports file types that are not supported by Nix's FSO model.
|
pure virtual |
Create a hard link. The target must be the path of a previously encountered file relative to the root of the FSO.
Implemented in nix::GitFileSystemObjectSinkImpl, and nix::test::TracingExtendedFileSystemObjectSink.