Nix 2.26.3
Nix, the purely functional package manager; unstable internal interfaces
 
Loading...
Searching...
No Matches
nix::test::TracingExtendedFileSystemObjectSink Class Reference

#include <tracing-file-system-object-sink.hh>

Inheritance diagram for nix::test::TracingExtendedFileSystemObjectSink:
nix::test::TracingFileSystemObjectSink nix::ExtendedFileSystemObjectSink nix::FileSystemObjectSink nix::FileSystemObjectSink

Public Member Functions

 TracingExtendedFileSystemObjectSink (ExtendedFileSystemObjectSink &sink)
 
void createHardlink (const CanonPath &path, const CanonPath &target) override
 
- Public Member Functions inherited from nix::test::TracingFileSystemObjectSink
 TracingFileSystemObjectSink (FileSystemObjectSink &sink)
 
void createDirectory (const CanonPath &path) override
 
void createRegularFile (const CanonPath &path, std::function< void(CreateRegularFileSink &)> fn) override
 
void createSymlink (const CanonPath &path, const std::string &target) override
 

Detailed Description

A ExtendedFileSystemObjectSink that traces calls, writing to stderr.

Member Function Documentation

◆ createHardlink()

void nix::test::TracingExtendedFileSystemObjectSink::createHardlink ( const CanonPath & path,
const CanonPath & target )
overridevirtual

Create a hard link. The target must be the path of a previously encountered file relative to the root of the FSO.

Implements nix::ExtendedFileSystemObjectSink.


The documentation for this class was generated from the following files: