aboutsummaryrefslogtreecommitdiff
path: root/src/libfetchers/tree-info.cc
blob: b2d8cfc8d03d6b36657d259511bf25cbe063a3be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "tree-info.hh"
#include "store-api.hh"

#include <nlohmann/json.hpp>

namespace nix::fetchers {

StorePath TreeInfo::computeStorePath(Store & store) const
{
    assert(narHash);
    return store.makeFixedOutputPath(FileIngestionMethod::Recursive, narHash, "source");
}

}