mirror of
https://github.com/NixOS/nix
synced 2025-06-28 17:51:15 +02:00
readDir: Allocate type strings only once
This commit is contained in:
parent
7d2ead50e5
commit
d71e74838a
3 changed files with 22 additions and 12 deletions
|
@ -191,6 +191,15 @@ public:
|
|||
*/
|
||||
Value vNull;
|
||||
|
||||
/** `"regular"` */
|
||||
Value vStringRegular;
|
||||
/** `"directory"` */
|
||||
Value vStringDirectory;
|
||||
/** `"symlink"` */
|
||||
Value vStringSymlink;
|
||||
/** `"unknown"` */
|
||||
Value vStringUnknown;
|
||||
|
||||
/**
|
||||
* The accessor for the root filesystem.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue