Nix 2.26.3
Nix, the purely functional package manager; unstable internal interfaces
 
Loading...
Searching...
No Matches
nix::ExtendedFileSystemObjectSink Struct Referenceabstract

#include <fs-sink.hh>

Inheritance diagram for nix::ExtendedFileSystemObjectSink:
nix::FileSystemObjectSink nix::GitFileSystemObjectSink nix::test::TracingExtendedFileSystemObjectSink nix::GitFileSystemObjectSinkImpl

Public Member Functions

virtual void createHardlink (const CanonPath &path, const CanonPath &target)=0
 
- Public Member Functions inherited from nix::FileSystemObjectSink
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
 

Detailed Description

An extension of FileSystemObjectSink that supports file types that are not supported by Nix's FSO model.

Member Function Documentation

◆ createHardlink()

virtual void nix::ExtendedFileSystemObjectSink::createHardlink ( const CanonPath & path,
const CanonPath & target )
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.


The documentation for this struct was generated from the following file: