Include rearrangement: libutil
Change-Id: Ibf4ee57e430ce1cd175f994d1db7964c8407ffa7
This commit is contained in:
parent
b62cc7b361
commit
df0e1993b7
|
@ -2,10 +2,10 @@
|
|||
///@file
|
||||
|
||||
#include <nlohmann/json.hpp>
|
||||
#include "config.hh"
|
||||
#include "json-utils.hh"
|
||||
#include "lix/libutil/config.hh"
|
||||
#include "lix/libutil/json-utils.hh"
|
||||
// Required for instances of to_json and from_json for ExperimentalFeature
|
||||
#include "experimental-features-json.hh"
|
||||
#include "lix/libutil/experimental-features-json.hh"
|
||||
|
||||
namespace nix {
|
||||
template<typename T>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* @brief Options for applying `Config` settings.
|
||||
*/
|
||||
|
||||
#include <types.hh>
|
||||
#include "lix/libutil/types.hh"
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
|
|
@ -12,13 +12,13 @@
|
|||
#include <dirent.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
#include "archive.hh"
|
||||
#include "file-system.hh"
|
||||
#include "finally.hh"
|
||||
#include "serialise.hh"
|
||||
#include "config.hh"
|
||||
#include "logging.hh"
|
||||
#include "signals.hh"
|
||||
#include "lix/libutil/archive.hh"
|
||||
#include "lix/libutil/file-system.hh"
|
||||
#include "lix/libutil/finally.hh"
|
||||
#include "lix/libutil/serialise.hh"
|
||||
#include "lix/libutil/config.hh"
|
||||
#include "lix/libutil/logging.hh"
|
||||
#include "lix/libutil/signals.hh"
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
#pragma once
|
||||
///@file
|
||||
|
||||
#include "generator.hh"
|
||||
#include "types.hh"
|
||||
#include "serialise.hh"
|
||||
#include "file-system.hh"
|
||||
#include "lix/libutil/generator.hh"
|
||||
#include "lix/libutil/types.hh"
|
||||
#include "lix/libutil/serialise.hh"
|
||||
#include "lix/libutil/file-system.hh"
|
||||
|
||||
|
||||
namespace nix {
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
#include "args.hh"
|
||||
#include "args/root.hh"
|
||||
#include "hash.hh"
|
||||
#include "strings.hh"
|
||||
#include "json-utils.hh" // IWYU pragma: keep (instances)
|
||||
#include "environment-variables.hh"
|
||||
#include "lix/libutil/args.hh"
|
||||
#include "lix/libutil/args/root.hh"
|
||||
#include "lix/libutil/hash.hh"
|
||||
#include "lix/libutil/strings.hh"
|
||||
#include "lix/libutil/json-utils.hh" // IWYU pragma: keep (instances)
|
||||
#include "lix/libutil/environment-variables.hh"
|
||||
|
||||
#include "experimental-features-json.hh" // IWYU pragma: keep (instances)
|
||||
#include "logging.hh"
|
||||
#include "lix/libutil/experimental-features-json.hh" // IWYU pragma: keep (instances)
|
||||
#include "lix/libutil/logging.hh"
|
||||
|
||||
#include <glob.h>
|
||||
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#pragma once
|
||||
///@file
|
||||
|
||||
#include "experimental-features.hh"
|
||||
#include "types.hh"
|
||||
#include "ref.hh"
|
||||
#include "lix/libutil/experimental-features.hh"
|
||||
#include "lix/libutil/types.hh"
|
||||
#include "lix/libutil/ref.hh"
|
||||
|
||||
#include <functional>
|
||||
#include <map>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#pragma once
|
||||
///@file
|
||||
|
||||
#include "args.hh"
|
||||
#include "lix/libutil/args.hh"
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#include "canon-path.hh"
|
||||
#include "file-system.hh"
|
||||
#include "lix/libutil/canon-path.hh"
|
||||
#include "lix/libutil/file-system.hh"
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
#include "logging.hh"
|
||||
#include "lix/libutil/logging.hh"
|
||||
#if __linux__
|
||||
|
||||
#include "cgroup.hh"
|
||||
#include "file-system.hh"
|
||||
#include "finally.hh"
|
||||
#include "strings.hh"
|
||||
#include "lix/libutil/cgroup.hh"
|
||||
#include "lix/libutil/file-system.hh"
|
||||
#include "lix/libutil/finally.hh"
|
||||
#include "lix/libutil/strings.hh"
|
||||
|
||||
#include <chrono>
|
||||
#include <cmath>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#include <chrono>
|
||||
#include <optional>
|
||||
|
||||
#include "types.hh"
|
||||
#include "lix/libutil/types.hh"
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#include "charptr-cast.hh"
|
||||
#include "compression.hh"
|
||||
#include "tarfile.hh"
|
||||
#include "signals.hh"
|
||||
#include "logging.hh"
|
||||
#include "lix/libutil/charptr-cast.hh"
|
||||
#include "lix/libutil/compression.hh"
|
||||
#include "lix/libutil/tarfile.hh"
|
||||
#include "lix/libutil/signals.hh"
|
||||
#include "lix/libutil/logging.hh"
|
||||
|
||||
#include <archive.h>
|
||||
#include <archive_entry.h>
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#pragma once
|
||||
///@file
|
||||
|
||||
#include "ref.hh"
|
||||
#include "types.hh"
|
||||
#include "serialise.hh"
|
||||
#include "lix/libutil/ref.hh"
|
||||
#include "lix/libutil/types.hh"
|
||||
#include "lix/libutil/serialise.hh"
|
||||
|
||||
#include <string>
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#include "types.hh"
|
||||
#include "lix/libutil/types.hh"
|
||||
|
||||
#if HAVE_LIBCPUID
|
||||
#include <libcpuid/libcpuid.h>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#pragma once
|
||||
///@file
|
||||
|
||||
#include "types.hh"
|
||||
#include "lix/libutil/types.hh"
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
|
|
@ -12,9 +12,9 @@
|
|||
* instantiation.
|
||||
*/
|
||||
|
||||
#include "args.hh"
|
||||
#include "config.hh"
|
||||
#include "logging.hh"
|
||||
#include "lix/libutil/args.hh"
|
||||
#include "lix/libutil/config.hh"
|
||||
#include "lix/libutil/logging.hh"
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
#include "config.hh"
|
||||
#include "apply-config-options.hh"
|
||||
#include "args.hh"
|
||||
#include "abstract-setting-to-json.hh"
|
||||
#include "experimental-features.hh"
|
||||
#include "deprecated-features.hh"
|
||||
#include "file-system.hh"
|
||||
#include "logging.hh"
|
||||
#include "strings.hh"
|
||||
#include "lix/libutil/config.hh"
|
||||
#include "lix/libutil/apply-config-options.hh"
|
||||
#include "lix/libutil/args.hh"
|
||||
#include "lix/libutil/abstract-setting-to-json.hh"
|
||||
#include "lix/libutil/experimental-features.hh"
|
||||
#include "lix/libutil/deprecated-features.hh"
|
||||
#include "lix/libutil/file-system.hh"
|
||||
#include "lix/libutil/logging.hh"
|
||||
#include "lix/libutil/strings.hh"
|
||||
|
||||
#include "config-impl.hh"
|
||||
#include "lix/libutil/config-impl.hh"
|
||||
|
||||
#include <nlohmann/json.hpp>
|
||||
|
||||
|
|
|
@ -7,10 +7,10 @@
|
|||
|
||||
#include <nlohmann/json_fwd.hpp>
|
||||
|
||||
#include "types.hh"
|
||||
#include "experimental-features.hh"
|
||||
#include "deprecated-features.hh"
|
||||
#include "apply-config-options.hh"
|
||||
#include "lix/libutil/types.hh"
|
||||
#include "lix/libutil/experimental-features.hh"
|
||||
#include "lix/libutil/deprecated-features.hh"
|
||||
#include "lix/libutil/apply-config-options.hh"
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "current-process.hh"
|
||||
#include "error.hh"
|
||||
#include "file-system.hh"
|
||||
#include "logging.hh"
|
||||
#include "namespaces.hh"
|
||||
#include "signals.hh"
|
||||
#include "strings.hh"
|
||||
#include "lix/libutil/current-process.hh"
|
||||
#include "lix/libutil/error.hh"
|
||||
#include "lix/libutil/file-system.hh"
|
||||
#include "lix/libutil/logging.hh"
|
||||
#include "lix/libutil/namespaces.hh"
|
||||
#include "lix/libutil/signals.hh"
|
||||
#include "lix/libutil/strings.hh"
|
||||
#include "lix/libutil/cgroup.hh"
|
||||
#include <math.h>
|
||||
|
||||
#ifdef __APPLE__
|
||||
|
@ -21,7 +22,6 @@
|
|||
#endif
|
||||
|
||||
#include <sys/mount.h>
|
||||
#include <cgroup.hh>
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#include <optional>
|
||||
#include <sys/resource.h>
|
||||
|
||||
#include "types.hh"
|
||||
#include "lix/libutil/types.hh"
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#pragma once
|
||||
///@file
|
||||
|
||||
#include "deprecated-features.hh"
|
||||
#include "json-utils.hh"
|
||||
#include "lix/libutil/deprecated-features.hh"
|
||||
#include "lix/libutil/json-utils.hh"
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "deprecated-features.hh"
|
||||
#include "lix/libutil/deprecated-features.hh"
|
||||
// Required for instances of to_json and from_json for DeprecatedFeature
|
||||
#include "deprecated-features-json.hh"
|
||||
#include "strings.hh"
|
||||
#include "lix/libutil/deprecated-features-json.hh"
|
||||
#include "lix/libutil/strings.hh"
|
||||
|
||||
#include "nlohmann/json.hpp"
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#pragma once
|
||||
///@file
|
||||
|
||||
#include "error.hh"
|
||||
#include "types.hh"
|
||||
#include "lix/libutil/error.hh"
|
||||
#include "lix/libutil/types.hh"
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#include "english.hh"
|
||||
#include "lix/libutil/english.hh"
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
#include "environment-variables.hh"
|
||||
#include "error.hh"
|
||||
#include "logging.hh"
|
||||
#include "position.hh"
|
||||
#include "terminal.hh"
|
||||
#include "strings.hh"
|
||||
#include "signals.hh"
|
||||
#include "lix/libutil/environment-variables.hh"
|
||||
#include "lix/libutil/error.hh"
|
||||
#include "lix/libutil/logging.hh"
|
||||
#include "lix/libutil/position.hh"
|
||||
#include "lix/libutil/terminal.hh"
|
||||
#include "lix/libutil/strings.hh"
|
||||
#include "lix/libutil/signals.hh"
|
||||
|
||||
#include <iostream>
|
||||
#include <optional>
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
* See libutil/tests/logging.cc for usage examples.
|
||||
*/
|
||||
|
||||
#include "suggestions.hh"
|
||||
#include "fmt.hh"
|
||||
#include "lix/libutil/suggestions.hh"
|
||||
#include "lix/libutil/fmt.hh"
|
||||
|
||||
#include <cstring>
|
||||
#include <list>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#include <iomanip>
|
||||
#include <iostream>
|
||||
|
||||
#include "escape-char.hh"
|
||||
#include "lix/libutil/escape-char.hh"
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
#include <ostream>
|
||||
#include <sstream>
|
||||
|
||||
#include "ansicolor.hh"
|
||||
#include "escape-char.hh"
|
||||
#include "english.hh"
|
||||
#include "escape-string.hh"
|
||||
#include "print-elided.hh"
|
||||
#include "lix/libutil/ansicolor.hh"
|
||||
#include "lix/libutil/escape-char.hh"
|
||||
#include "lix/libutil/english.hh"
|
||||
#include "lix/libutil/escape-string.hh"
|
||||
#include "lix/libutil/print-elided.hh"
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#include "exit.hh"
|
||||
#include "lix/libutil/exit.hh"
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#pragma once
|
||||
///@file
|
||||
|
||||
#include "experimental-features.hh"
|
||||
#include "json-utils.hh"
|
||||
#include "lix/libutil/experimental-features.hh"
|
||||
#include "lix/libutil/json-utils.hh"
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "experimental-features.hh"
|
||||
#include "lix/libutil/experimental-features.hh"
|
||||
// Required for instances of to_json and from_json for ExperimentalFeature
|
||||
#include "experimental-features-json.hh"
|
||||
#include "strings.hh"
|
||||
#include "lix/libutil/experimental-features-json.hh"
|
||||
#include "lix/libutil/strings.hh"
|
||||
|
||||
#include "nlohmann/json.hpp"
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#pragma once
|
||||
///@file
|
||||
|
||||
#include "error.hh"
|
||||
#include "types.hh"
|
||||
#include "lix/libutil/error.hh"
|
||||
#include "lix/libutil/types.hh"
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#include "charptr-cast.hh"
|
||||
#include "file-system.hh"
|
||||
#include "finally.hh"
|
||||
#include "logging.hh"
|
||||
#include "serialise.hh"
|
||||
#include "signals.hh"
|
||||
#include "lix/libutil/charptr-cast.hh"
|
||||
#include "lix/libutil/file-system.hh"
|
||||
#include "lix/libutil/finally.hh"
|
||||
#include "lix/libutil/logging.hh"
|
||||
#include "lix/libutil/serialise.hh"
|
||||
#include "lix/libutil/signals.hh"
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#pragma once
|
||||
///@file
|
||||
|
||||
#include "error.hh"
|
||||
#include "generator.hh"
|
||||
#include "lix/libutil/error.hh"
|
||||
#include "lix/libutil/generator.hh"
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
|
|
@ -4,16 +4,16 @@
|
|||
#include <atomic>
|
||||
#include <random>
|
||||
|
||||
#include "environment-variables.hh"
|
||||
#include "file-descriptor.hh"
|
||||
#include "file-system.hh"
|
||||
#include "finally.hh"
|
||||
#include "logging.hh"
|
||||
#include "serialise.hh"
|
||||
#include "signals.hh"
|
||||
#include "strings.hh"
|
||||
#include "types.hh"
|
||||
#include "users.hh"
|
||||
#include "lix/libutil/environment-variables.hh"
|
||||
#include "lix/libutil/file-descriptor.hh"
|
||||
#include "lix/libutil/file-system.hh"
|
||||
#include "lix/libutil/finally.hh"
|
||||
#include "lix/libutil/logging.hh"
|
||||
#include "lix/libutil/serialise.hh"
|
||||
#include "lix/libutil/signals.hh"
|
||||
#include "lix/libutil/strings.hh"
|
||||
#include "lix/libutil/types.hh"
|
||||
#include "lix/libutil/users.hh"
|
||||
|
||||
namespace fs = std::filesystem;
|
||||
|
||||
|
|
|
@ -5,9 +5,9 @@
|
|||
* Utiltities for working with the file sytem and file paths.
|
||||
*/
|
||||
|
||||
#include "box_ptr.hh"
|
||||
#include "types.hh"
|
||||
#include "file-descriptor.hh"
|
||||
#include "lix/libutil/box_ptr.hh"
|
||||
#include "lix/libutil/types.hh"
|
||||
#include "lix/libutil/file-descriptor.hh"
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#include "fmt.hh" // IWYU pragma: keep
|
||||
#include "lix/libutil/fmt.hh" // IWYU pragma: keep
|
||||
// Darwin and FreeBSD stdenv do not define _GNU_SOURCE but do have _Unwind_Backtrace.
|
||||
#if __APPLE__ || __FreeBSD__
|
||||
#define BOOST_STACKTRACE_GNU_SOURCE_NOT_REQUIRED
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#include <iostream>
|
||||
#include <string>
|
||||
#include <boost/format.hpp>
|
||||
#include "ansicolor.hh"
|
||||
#include "lix/libutil/ansicolor.hh"
|
||||
|
||||
// Explicit instantiation in fmt.cc
|
||||
extern template class boost::basic_format<char>;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#pragma once
|
||||
///@file
|
||||
|
||||
#include "types.hh"
|
||||
#include "lix/libutil/types.hh"
|
||||
|
||||
#include <coroutine>
|
||||
#include <exception>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#include "git.hh"
|
||||
#include "lix/libutil/git.hh"
|
||||
|
||||
#include <regex>
|
||||
|
||||
|
|
|
@ -4,13 +4,13 @@
|
|||
#include <openssl/md5.h>
|
||||
#include <openssl/sha.h>
|
||||
|
||||
#include "args.hh"
|
||||
#include "hash.hh"
|
||||
#include "archive.hh"
|
||||
#include "charptr-cast.hh"
|
||||
#include "logging.hh"
|
||||
#include "split.hh"
|
||||
#include "strings.hh"
|
||||
#include "lix/libutil/args.hh"
|
||||
#include "lix/libutil/hash.hh"
|
||||
#include "lix/libutil/archive.hh"
|
||||
#include "lix/libutil/charptr-cast.hh"
|
||||
#include "lix/libutil/logging.hh"
|
||||
#include "lix/libutil/split.hh"
|
||||
#include "lix/libutil/strings.hh"
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#pragma once
|
||||
///@file
|
||||
|
||||
#include "types.hh"
|
||||
#include "serialise.hh"
|
||||
#include "file-system.hh"
|
||||
#include "lix/libutil/types.hh"
|
||||
#include "lix/libutil/serialise.hh"
|
||||
#include "lix/libutil/file-system.hh"
|
||||
|
||||
|
||||
namespace nix {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#include "hilite.hh"
|
||||
#include "lix/libutil/hilite.hh"
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#include "json-utils.hh"
|
||||
#include "error.hh"
|
||||
#include "lix/libutil/json-utils.hh"
|
||||
#include "lix/libutil/error.hh"
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
///@brief Logging functions for json specifically, split due to the cost of
|
||||
///including nlohmann.
|
||||
|
||||
#include "logging.hh"
|
||||
#include "lix/libutil/logging.hh"
|
||||
|
||||
#include <nlohmann/json_fwd.hpp>
|
||||
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#include "environment-variables.hh"
|
||||
#include "file-descriptor.hh"
|
||||
#include "logging.hh"
|
||||
#include "config.hh"
|
||||
#include "position.hh"
|
||||
#include "terminal.hh"
|
||||
#include "lix/libutil/environment-variables.hh"
|
||||
#include "lix/libutil/file-descriptor.hh"
|
||||
#include "lix/libutil/logging.hh"
|
||||
#include "lix/libutil/config.hh"
|
||||
#include "lix/libutil/position.hh"
|
||||
#include "lix/libutil/terminal.hh"
|
||||
|
||||
#include <algorithm>
|
||||
#include <atomic>
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#pragma once
|
||||
///@file
|
||||
|
||||
#include "types.hh"
|
||||
#include "error.hh"
|
||||
#include "config.hh"
|
||||
#include "lix/libutil/types.hh"
|
||||
#include "lix/libutil/error.hh"
|
||||
#include "lix/libutil/config.hh"
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
|
|
@ -10,9 +10,9 @@
|
|||
#include <unistd.h>
|
||||
#include <signal.h>
|
||||
|
||||
#include "error.hh"
|
||||
#include "file-descriptor.hh"
|
||||
#include "signals.hh"
|
||||
#include "lix/libutil/error.hh"
|
||||
#include "lix/libutil/file-descriptor.hh"
|
||||
#include "lix/libutil/signals.hh"
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "mount.hh"
|
||||
#include "error.hh"
|
||||
#include "file-system.hh"
|
||||
#include "logging.hh"
|
||||
#include "lix/libutil/mount.hh"
|
||||
#include "lix/libutil/error.hh"
|
||||
#include "lix/libutil/file-system.hh"
|
||||
#include "lix/libutil/logging.hh"
|
||||
#if __linux__
|
||||
#include <sys/mount.h>
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#pragma once
|
||||
///@file
|
||||
|
||||
#include "types.hh"
|
||||
#include "lix/libutil/types.hh"
|
||||
|
||||
#if __linux__
|
||||
namespace nix {
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#include "file-descriptor.hh"
|
||||
#include "file-system.hh"
|
||||
#include "logging.hh"
|
||||
#include "namespaces.hh"
|
||||
#include "processes.hh"
|
||||
#include "strings.hh"
|
||||
#include "lix/libutil/file-descriptor.hh"
|
||||
#include "lix/libutil/file-system.hh"
|
||||
#include "lix/libutil/logging.hh"
|
||||
#include "lix/libutil/namespaces.hh"
|
||||
#include "lix/libutil/processes.hh"
|
||||
#include "lix/libutil/strings.hh"
|
||||
|
||||
#include <sys/mount.h>
|
||||
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
#include <memory>
|
||||
#include <cassert>
|
||||
|
||||
#include "sync.hh"
|
||||
#include "ref.hh"
|
||||
#include "lix/libutil/sync.hh"
|
||||
#include "lix/libutil/ref.hh"
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#include "position.hh"
|
||||
#include "lix/libutil/position.hh"
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#include <cstdint>
|
||||
#include <string>
|
||||
|
||||
#include "source-path.hh"
|
||||
#include "lix/libutil/source-path.hh"
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include "print-elided.hh"
|
||||
#include "ansicolor.hh"
|
||||
#include "english.hh"
|
||||
#include "lix/libutil/print-elided.hh"
|
||||
#include "lix/libutil/ansicolor.hh"
|
||||
#include "lix/libutil/english.hh"
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
#include "current-process.hh"
|
||||
#include "environment-variables.hh"
|
||||
#include "finally.hh"
|
||||
#include "logging.hh"
|
||||
#include "processes.hh"
|
||||
#include "strings.hh"
|
||||
#include "serialise.hh"
|
||||
#include "signals.hh"
|
||||
#include "lix/libutil/current-process.hh"
|
||||
#include "lix/libutil/environment-variables.hh"
|
||||
#include "lix/libutil/finally.hh"
|
||||
#include "lix/libutil/logging.hh"
|
||||
#include "lix/libutil/processes.hh"
|
||||
#include "lix/libutil/strings.hh"
|
||||
#include "lix/libutil/serialise.hh"
|
||||
#include "lix/libutil/signals.hh"
|
||||
|
||||
#include <cerrno>
|
||||
#include <cstdlib>
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#pragma once
|
||||
///@file
|
||||
|
||||
#include "types.hh"
|
||||
#include "error.hh"
|
||||
#include "file-descriptor.hh"
|
||||
#include "lix/libutil/types.hh"
|
||||
#include "lix/libutil/error.hh"
|
||||
#include "lix/libutil/file-descriptor.hh"
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include "references.hh"
|
||||
#include "hash.hh"
|
||||
#include "logging.hh"
|
||||
#include "lix/libutil/references.hh"
|
||||
#include "lix/libutil/hash.hh"
|
||||
#include "lix/libutil/logging.hh"
|
||||
|
||||
#include <cstdlib>
|
||||
#include <mutex>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#pragma once
|
||||
///@file
|
||||
|
||||
#include "hash.hh"
|
||||
#include "lix/libutil/hash.hh"
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#pragma once
|
||||
///@file
|
||||
|
||||
#include "strings.hh"
|
||||
#include "lix/libutil/strings.hh"
|
||||
|
||||
#include <string_view>
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include "serialise.hh"
|
||||
#include "charptr-cast.hh"
|
||||
#include "signals.hh"
|
||||
#include "lix/libutil/serialise.hh"
|
||||
#include "lix/libutil/charptr-cast.hh"
|
||||
#include "lix/libutil/signals.hh"
|
||||
|
||||
#include <cstring>
|
||||
#include <cerrno>
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
|
||||
#include <memory>
|
||||
|
||||
#include "charptr-cast.hh"
|
||||
#include "generator.hh"
|
||||
#include "types.hh"
|
||||
#include "file-descriptor.hh"
|
||||
#include "lix/libutil/charptr-cast.hh"
|
||||
#include "lix/libutil/generator.hh"
|
||||
#include "lix/libutil/types.hh"
|
||||
#include "lix/libutil/file-descriptor.hh"
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#include "shlex.hh"
|
||||
#include "strings.hh"
|
||||
#include "lix/libutil/shlex.hh"
|
||||
#include "lix/libutil/strings.hh"
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "error.hh"
|
||||
#include "lix/libutil/error.hh"
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "signals.hh"
|
||||
#include "error.hh"
|
||||
#include "sync.hh"
|
||||
#include "terminal.hh"
|
||||
#include "lix/libutil/signals.hh"
|
||||
#include "lix/libutil/error.hh"
|
||||
#include "lix/libutil/sync.hh"
|
||||
#include "lix/libutil/terminal.hh"
|
||||
|
||||
#include <map>
|
||||
#include <thread>
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
*/
|
||||
|
||||
|
||||
#include "error.hh"
|
||||
#include "lix/libutil/error.hh"
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#include "source-path.hh"
|
||||
#include "strings.hh"
|
||||
#include "lix/libutil/source-path.hh"
|
||||
#include "lix/libutil/strings.hh"
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
|
|
@ -5,12 +5,12 @@
|
|||
* @brief SourcePath
|
||||
*/
|
||||
|
||||
#include "ref.hh"
|
||||
#include "archive.hh"
|
||||
#include "canon-path.hh"
|
||||
#include "file-system.hh"
|
||||
#include "repair-flag.hh"
|
||||
#include "input-accessor.hh"
|
||||
#include "lix/libutil/ref.hh"
|
||||
#include "lix/libutil/archive.hh"
|
||||
#include "lix/libutil/canon-path.hh"
|
||||
#include "lix/libutil/file-system.hh"
|
||||
#include "lix/libutil/repair-flag.hh"
|
||||
#include "lix/libutil/input-accessor.hh"
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#include "strings.hh"
|
||||
#include "references.hh"
|
||||
#include "lix/libutil/strings.hh"
|
||||
#include "lix/libutil/references.hh"
|
||||
#include <boost/lexical_cast.hpp>
|
||||
#include <stdint.h>
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#pragma once
|
||||
///@file
|
||||
|
||||
#include "error.hh"
|
||||
#include "types.hh"
|
||||
#include "lix/libutil/error.hh"
|
||||
#include "lix/libutil/types.hh"
|
||||
|
||||
#include <vector>
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include "suggestions.hh"
|
||||
#include "ansicolor.hh"
|
||||
#include "terminal.hh"
|
||||
#include "lix/libutil/suggestions.hh"
|
||||
#include "lix/libutil/ansicolor.hh"
|
||||
#include "lix/libutil/terminal.hh"
|
||||
|
||||
#include <algorithm>
|
||||
#include <ostream>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#pragma once
|
||||
///@file
|
||||
|
||||
#include "comparator.hh"
|
||||
#include "lix/libutil/comparator.hh"
|
||||
|
||||
#include <set>
|
||||
#include <string_view>
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
#include <archive.h>
|
||||
#include <archive_entry.h>
|
||||
|
||||
#include "charptr-cast.hh"
|
||||
#include "file-system.hh"
|
||||
#include "logging.hh"
|
||||
#include "serialise.hh"
|
||||
#include "tarfile.hh"
|
||||
#include "lix/libutil/charptr-cast.hh"
|
||||
#include "lix/libutil/file-system.hh"
|
||||
#include "lix/libutil/logging.hh"
|
||||
#include "lix/libutil/serialise.hh"
|
||||
#include "lix/libutil/tarfile.hh"
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#pragma once
|
||||
///@file
|
||||
|
||||
#include "serialise.hh"
|
||||
#include "lix/libutil/serialise.hh"
|
||||
#include <archive.h>
|
||||
|
||||
namespace nix {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include "terminal.hh"
|
||||
#include "environment-variables.hh"
|
||||
#include "sync.hh"
|
||||
#include "lix/libutil/terminal.hh"
|
||||
#include "lix/libutil/environment-variables.hh"
|
||||
#include "lix/libutil/sync.hh"
|
||||
|
||||
#include <sys/ioctl.h>
|
||||
#include <unistd.h>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include "thread-pool.hh"
|
||||
#include "logging.hh"
|
||||
#include "signals.hh"
|
||||
#include "lix/libutil/thread-pool.hh"
|
||||
#include "lix/libutil/logging.hh"
|
||||
#include "lix/libutil/signals.hh"
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#pragma once
|
||||
///@file
|
||||
|
||||
#include "error.hh"
|
||||
#include "sync.hh"
|
||||
#include "lix/libutil/error.hh"
|
||||
#include "lix/libutil/sync.hh"
|
||||
|
||||
#include <map>
|
||||
#include <queue>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#pragma once
|
||||
///@file
|
||||
|
||||
#include "error.hh"
|
||||
#include "lix/libutil/error.hh"
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "file-system.hh"
|
||||
#include "processes.hh"
|
||||
#include "unix-domain-socket.hh"
|
||||
#include "strings.hh"
|
||||
#include "lix/libutil/file-system.hh"
|
||||
#include "lix/libutil/processes.hh"
|
||||
#include "lix/libutil/unix-domain-socket.hh"
|
||||
#include "lix/libutil/strings.hh"
|
||||
|
||||
#include <sys/socket.h>
|
||||
#include <sys/un.h>
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#pragma once
|
||||
///@file
|
||||
|
||||
#include "file-descriptor.hh"
|
||||
#include "types.hh"
|
||||
#include "lix/libutil/file-descriptor.hh"
|
||||
#include "lix/libutil/types.hh"
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include <regex>
|
||||
|
||||
#include "url-name.hh"
|
||||
#include "lix/libutil/url-name.hh"
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#include <string>
|
||||
#include <optional>
|
||||
|
||||
#include "url.hh"
|
||||
#include "lix/libutil/url.hh"
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "url.hh"
|
||||
#include "url-parts.hh"
|
||||
#include "split.hh"
|
||||
#include "strings.hh"
|
||||
#include "lix/libutil/url.hh"
|
||||
#include "lix/libutil/url-parts.hh"
|
||||
#include "lix/libutil/split.hh"
|
||||
#include "lix/libutil/strings.hh"
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#pragma once
|
||||
///@file
|
||||
|
||||
#include "error.hh"
|
||||
#include "lix/libutil/error.hh"
|
||||
#include <map>
|
||||
|
||||
namespace nix {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "environment-variables.hh"
|
||||
#include "file-system.hh"
|
||||
#include "logging.hh"
|
||||
#include "strings.hh"
|
||||
#include "lix/libutil/environment-variables.hh"
|
||||
#include "lix/libutil/file-system.hh"
|
||||
#include "lix/libutil/logging.hh"
|
||||
#include "lix/libutil/strings.hh"
|
||||
|
||||
#include <pwd.h>
|
||||
#include <sys/types.h>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#pragma once
|
||||
///@file
|
||||
|
||||
#include "types.hh"
|
||||
#include "lix/libutil/types.hh"
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include <cassert>
|
||||
|
||||
#include "xml-writer.hh"
|
||||
#include "lix/libutil/xml-writer.hh"
|
||||
|
||||
|
||||
namespace nix {
|
||||
|
|
Loading…
Reference in a new issue