1
1
Fork 0
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:
Wouter den Breejen 2007-07-20 11:03:30 +00:00
parent 7f2140d17f
commit 00f39f88f7
5 changed files with 71 additions and 81 deletions

View file

@ -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;