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

Go to the source code of this file.

Classes

struct  nix::CreateRegularFileSink
struct  nix::FileSystemObjectSink
struct  nix::NullFileSystemObjectSink
struct  nix::RestoreSink
class  nix::RestoreSinkHooks
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.