Nix
2.26.3
Nix, the purely functional package manager; unstable internal interfaces
Loading...
Searching...
No Matches
fetch-to-store.hh
1
#pragma once
2
3
#include "
source-path.hh
"
4
#include "
store-api.hh
"
5
#include "
file-system.hh
"
6
#include "
repair-flag.hh
"
7
#include "
file-content-address.hh
"
8
9
namespace
nix {
10
11
enum struct
FetchMode { DryRun, Copy };
12
16
StorePath
fetchToStore(
17
Store
&
store
,
18
const
SourcePath
& path,
19
FetchMode mode,
20
std::string_view
name
=
"source"
,
21
ContentAddressMethod
method = ContentAddressMethod::Raw::NixArchive,
22
PathFilter
* filter =
nullptr
,
23
RepairFlag
repair
= NoRepair);
24
25
}
nix::StorePath
Definition
path.hh:27
nix::Store
Definition
store-api.hh:169
file-content-address.hh
file-system.hh
nix::PathFilter
std::function< bool(const Path &path)> PathFilter
Definition
file-system.hh:365
store
ChunkedVector< std::string, 8192 > store
Definition
lexer.l:1011
name
const std::string_view & name
Definition
lexer.l:1709
repair
RepairFlag repair
Definition
lexer.l:7173
repair-flag.hh
source-path.hh
SourcePath.
store-api.hh
nix::ContentAddressMethod
Definition
content-address.hh:31
nix::SourcePath
Definition
source-path.hh:22
src
libfetchers
fetch-to-store.hh
Generated by
1.13.2