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

#include <fs-sink.hh>

Inheritance diagram for nix::NullFileSystemObjectSink:
nix::FileSystemObjectSink

Public Member Functions

void createDirectory (const CanonPath &path) override
 
void createSymlink (const CanonPath &path, const std::string &target) override
 
void createRegularFile (const CanonPath &path, std::function< void(CreateRegularFileSink &)>) override
 

Detailed Description

Ignore everything and do nothing

Member Function Documentation

◆ createDirectory()

void nix::NullFileSystemObjectSink::createDirectory ( const CanonPath & path)
inlineoverridevirtual

◆ createRegularFile()

void nix::NullFileSystemObjectSink::createRegularFile ( const CanonPath & path,
std::function< void(CreateRegularFileSink &)>  )
overridevirtual

This function in general is no re-entrant. Only one file can be written at a time.

Implements nix::FileSystemObjectSink.

◆ createSymlink()

void nix::NullFileSystemObjectSink::createSymlink ( const CanonPath & path,
const std::string & target )
inlineoverridevirtual

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