Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
Loading...
Searching...
No Matches
merkle-tar-adapter.hh File Reference
#include "nix/util/merkle-files.hh"
#include "nix/util/ref.hh"
#include "nix/util/tarfile.hh"
#include <memory>

Go to the source code of this file.

Classes

struct  nix::merkle::RegularFileSinkWithFinalize
struct  nix::merkle::DirectorySinkWithFinalize
struct  nix::merkle::FileSinkBuilder
struct  nix::merkle::TarAdapter

Functions

ref< TarAdapter > nix::merkle::makeTarSink (FileSinkBuilder &store)

Function Documentation

◆ makeTarSink()

ref< TarAdapter > nix::merkle::makeTarSink ( FileSinkBuilder & store)

Create a TarSink that builds a merkle tree from path-based tar entries.

Parameters
storeFactory for creating merkle sinks