* Canonicalise path.
This commit is contained in:
parent
249988a787
commit
9f4ad99e92
|
@ -151,7 +151,7 @@ void unregisterPath(const string & _path)
|
|||
bool queryPathId(const string & path, FSId & id)
|
||||
{
|
||||
string s;
|
||||
if (!queryDB(nixDB, dbPath2Id, path, s)) return false;
|
||||
if (!queryDB(nixDB, dbPath2Id, absPath(path), s)) return false;
|
||||
id = parseHash(s);
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue