Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to cache lstat results instead of stat #336

Closed
wants to merge 2 commits into from

Conversation

erikkemperman
Copy link
Contributor

@erikkemperman erikkemperman commented May 1, 2017

I'm preparing a PR to vinyl-fs to signifcantly reduce the number of fs operations by leveraging node-glob's caches. However there's a resolveSymlinks option which users set to false to obtain stats of the link, rather than the target, for symlink matches.

Currently this has us do three stats (an lstat and stat in node-glob, and then another lstat in vinyl-fs). This PR, or something like it, would allow me to reduce that to just one (lstat).

PS I've included a commit from another PR to make Appveyor pass.

@erikkemperman erikkemperman changed the title Noresolve Add option to cache lstat results instead of stat May 1, 2017
@isaacs
Copy link
Owner

isaacs commented Mar 1, 2023

No longer relevant in v9.

@isaacs isaacs closed this Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants