Nix
2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
input-accessor.hh
Go to the documentation of this file.
1
#pragma once
3
4
5
#include <map>
6
#include <optional>
7
#include <string>
8
9
namespace
nix {
10
11
struct
InputAccessor
12
{
13
enum
Type
{
14
tRegular, tSymlink, tDirectory,
22
tMisc
23
};
24
25
struct
Stat
26
{
27
Type
type =
tMisc
;
28
//uint64_t fileSize = 0; // regular files only
29
bool
isExecutable =
false
;
// regular files only
30
};
31
32
typedef
std::optional<Type> DirEntry;
33
34
typedef
std::map<std::string, DirEntry> DirEntries;
35
};
36
37
}
nix::InputAccessor::Stat
Definition
input-accessor.hh:26
nix::InputAccessor
Definition
input-accessor.hh:12
nix::InputAccessor::Type
Type
Definition
input-accessor.hh:13
nix::InputAccessor::tMisc
@ tMisc
Definition
input-accessor.hh:22
lix
libutil
input-accessor.hh
Generated by
1.15.0