Nix 2.26.3
Nix, the purely functional package manager; unstable internal interfaces
 
Loading...
Searching...
No Matches
fs-sink.hh File Reference
#include "serialise.hh"
#include "source-accessor.hh"
#include "file-system.hh"

Go to the source code of this file.

Classes

struct  nix::CreateRegularFileSink
 
struct  nix::FileSystemObjectSink
 
struct  nix::ExtendedFileSystemObjectSink
 
struct  nix::NullFileSystemObjectSink
 
struct  nix::RestoreSink
 
struct  nix::RegularFileSink
 

Functions

void nix::copyRecursive (SourceAccessor &accessor, const CanonPath &from, FileSystemObjectSink &sink, const CanonPath &to)
 

Function Documentation

◆ copyRecursive()

void nix::copyRecursive ( SourceAccessor & accessor,
const CanonPath & sourcePath,
FileSystemObjectSink & sink,
const CanonPath & destPath )

Recursively copy file system objects from the source into the sink.