aboutsummaryrefslogtreecommitdiff
path: root/src/libfetchers/tree-info.cc
blob: 432aa61821940975523f2c620c22854b87c52f03 (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");
}

}