mirror of
https://github.com/NixOS/nix.git
synced 2025-11-26 12:10:59 +01:00
adjusted queryReferences/Referrers to handle shared state paths.
This commit is contained in:
parent
7f2140d17f
commit
00f39f88f7
5 changed files with 71 additions and 81 deletions
|
|
@ -1112,7 +1112,7 @@ bool FileExist(const string FileName)
|
|||
}
|
||||
|
||||
//TODO Does this work on windows?
|
||||
bool IsDirectory(const string FileName)
|
||||
bool IsDirectory(const string FileName) //TODO Use pathExists??
|
||||
{
|
||||
const char* FileName_C = FileName.c_str();
|
||||
struct stat my_stat;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue