mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-27 00:06:16 +02:00
Document tMisc
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
This commit is contained in:
parent
01232358ff
commit
ad57cff9bc
1 changed files with 11 additions and 1 deletions
|
@ -13,7 +13,17 @@ class Store;
|
|||
|
||||
struct InputAccessor
|
||||
{
|
||||
enum Type { tRegular, tSymlink, tDirectory, tMisc };
|
||||
enum Type {
|
||||
tRegular, tSymlink, tDirectory,
|
||||
/**
|
||||
Any other node types that may be encountered on the file system, such as device nodes, sockets, named pipe, and possibly even more exotic things.
|
||||
|
||||
Responsible for `"unknown"` from `builtins.readFileType "/dev/null"`.
|
||||
|
||||
Unlike `DT_UNKNOWN`, this must not be used for deferring the lookup of types.
|
||||
*/
|
||||
tMisc
|
||||
};
|
||||
|
||||
struct Stat
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue