![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
#include <sys/stat.h>#include <sys/time.h>#include <filesystem>#include <memory>#include "nix/util/types.hh"#include "nix/util/error.hh"#include "nix/store/config.hh"Go to the source code of this file.
Classes | |
| struct | nix::CanonicalizePathMetadataOptions |
Macros | |
| #define | NIX_WHEN_SUPPORT_ACLS(ARG) |
| #define | NIX_WHEN_SUPPORT_ACLS2(ARG) |
Typedefs | |
| typedef std::pair< dev_t, ino_t > | nix::Inode |
| typedef std::set< Inode > | nix::InodesSeen |
Functions | |
| void | nix::canonicalisePathMetaData (const std::filesystem::path &path, CanonicalizePathMetadataOptions options, InodesSeen &inodesSeen) |
| void | nix::canonicalisePathMetaData (const std::filesystem::path &path, CanonicalizePathMetadataOptions options) |
| void | nix::canonicaliseTimestampAndPermissions (const std::filesystem::path &path) |
| std::unique_ptr< RestoreSinkHooks > | nix::makeCanonicalisingRestoreHooks () |
| #define NIX_WHEN_SUPPORT_ACLS | ( | ARG | ) |
Makes it easier to cope with conditionally-available fields.
| void nix::canonicalisePathMetaData | ( | const std::filesystem::path & | path, |
| CanonicalizePathMetadataOptions | options, | ||
| InodesSeen & | inodesSeen ) |
"Fix", or canonicalise, the meta-data of the files in a store path after it has been built. In particular: