hash function

int hash(
  1. String path
)

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) => context.hash(path);