Whether a directory sits at path.
path
bool hasDirectory(String path) => _directories.contains(_normalize(path));