hash method
Returns a hash code for path
such that, if equals returns true
for two
paths, their hash codes are the same.
Note that the same path may have different hash codes on different platforms or with different current directories.
Implementation
int hash(String path) => p.context.hash(path);