mirror of
https://github.com/NixOS/nix.git
synced 2025-11-10 12:36:01 +01:00
This will facilitate breaking up Nix into multiple packages for each component with Meson.
10 lines
167 B
C++
10 lines
167 B
C++
#include "file-system.hh"
|
|
|
|
namespace nix {
|
|
|
|
Descriptor openDirectory(const std::filesystem::path & path)
|
|
{
|
|
return open(path.c_str(), O_RDONLY | O_DIRECTORY);
|
|
}
|
|
|
|
}
|