Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
fetchers.hh File Reference
#include "lix/libstore/content-address.hh"
#include "lix/libutil/result.hh"
#include "lix/libutil/types.hh"
#include "lix/libutil/hash.hh"
#include "lix/libutil/canon-path.hh"
#include "lix/libstore/path.hh"
#include "lix/libfetchers/attrs.hh"
#include "lix/libutil/url.hh"
#include "lix/libutil/ref.hh"
#include "lix/libutil/strings.hh"
#include <kj/async.h>
#include <memory>

Go to the source code of this file.

Classes

struct  nix::fetchers::Tree
struct  nix::fetchers::Input
struct  nix::fetchers::InputScheme
struct  nix::fetchers::DownloadFileResult
struct  nix::fetchers::DownloadTarballResult

Functions

void nix::fetchers::registerInputScheme (std::shared_ptr< InputScheme > &&inputScheme)
void nix::fetchers::initLibFetchers ()
kj::Promise< Result< DownloadFileResult > > nix::fetchers::downloadFile (ref< Store > store, const std::string &url, const std::string &name, bool locked, Headers headers={}, FileIngestionMethod ingestionMethod=FileIngestionMethod::Flat)
kj::Promise< Result< DownloadTarballResult > > nix::fetchers::downloadTarball (ref< Store > store, const std::string &url, const std::string &name, bool locked, const Headers &headers={})