Comment 10 for bug 500581

Revision history for this message
In , Marcel-wiesweg (marcel-wiesweg) wrote :

rootPath = ~/Images/apn
filePath = ~/Images/apn-reflex/xyz

if (filePath.startsWith(rootPath))
{
    ...
}

That's the current code. The mistake is obvious, you already point to it above.
I want to avoid accessing the filesystem here, just compare strings.