4#include "source-accessor.hh"
47FileSerialisationMethod parseFileSerialisationMethod(std::string_view input);
54std::string_view renderFileSerialisationMethod(FileSerialisationMethod method);
60 const SourcePath &
path,
62 FileSerialisationMethod method,
63 PathFilter & filter = defaultPathFilter);
73 FileSerialisationMethod method,
88 const SourcePath &
path,
89 FileSerialisationMethod method, HashAlgorithm ha,
90 PathFilter & filter = defaultPathFilter);
136FileIngestionMethod parseFileIngestionMethod(std::string_view input);
143std::string_view renderFileIngestionMethod(FileIngestionMethod method);
155std::pair<Hash, std::optional<uint64_t>> hashPath(
156 const SourcePath &
path,
157 FileIngestionMethod method, HashAlgorithm ha,
158 PathFilter & filter = defaultPathFilter);
FileSerialisationMethod
Definition file-content-address.hh:20
@ Flat
Definition file-content-address.hh:27
@ NixArchive
Definition file-content-address.hh:36
FileIngestionMethod
Definition file-content-address.hh:99
@ Git
Definition file-content-address.hh:124
std::string path
Definition lexer.l:1399
Definition source-path.hh:22