Cache a synchronous FS function that takes a path as a single argument.
The result cache will be invalidated whenever the mtime of the path
changes. May specify minimum time between stat() calls in ms, and provide
both a results cache and mtime cache.
Cache a synchronous FS function that takes a path as a single argument. The result cache will be invalidated whenever the mtime of the path changes. May specify minimum time between stat() calls in ms, and provide both a results cache and mtime cache.