pub fn source_stamp(path: &Path) -> Option<u64>Expand description
Identity of a module’s source WITHOUT reading it: modification time and length, folded together.
Hashing the bytes would mean reading every file on every run just to learn
it had not changed – the read the cache exists to avoid. A stamp collision
needs an edit that preserves both the exact byte length and the nanosecond
mtime, which is what tsc --incremental, vite, and webpack all settle for.