mirror of
https://github.com/NixOS/nix
synced 2025-07-07 06:01:48 +02:00
Merge branch 'master' of github.com:NixOS/nix
This commit is contained in:
commit
39e8aad446
12 changed files with 178 additions and 112 deletions
|
@ -225,7 +225,7 @@ void LocalStore::findRoots(const Path & path, std::filesystem::file_type type, R
|
|||
try {
|
||||
|
||||
if (type == std::filesystem::file_type::unknown)
|
||||
type = getFileType(path);
|
||||
type = std::filesystem::symlink_status(path).type();
|
||||
|
||||
if (type == std::filesystem::file_type::directory) {
|
||||
for (auto & i : std::filesystem::directory_iterator{path})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue