Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
Loading...
Searching...
No Matches
merkle-files.hh File Reference
#include <cstdint>
#include <optional>
#include "nix/util/hash.hh"
#include "nix/util/serialise.hh"

Go to the source code of this file.

Classes

struct  nix::merkle::TreeEntry
struct  nix::merkle::DirectorySink

Typedefs

using nix::RawMode = uint32_t

Enumerations

enum struct  nix::merkle::Mode : RawMode { Directory = 0040000 , Regular = 0100644 , Executable = 0100755 , Symlink = 0120000 }

Functions

std::optional< Mode > nix::merkle::decodeMode (RawMode m)

Enumeration Type Documentation

◆ Mode

enum struct nix::merkle::Mode : RawMode
strong

The mode of a file in a content-addressed/merkle file system. These values match the Git file modes.