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