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

Scan the file-system lazily #732

Merged
2 commits merged into from May 1, 2018
Merged

Scan the file-system lazily #732

2 commits merged into from May 1, 2018

Conversation

ghost
Copy link

@ghost ghost commented Apr 30, 2018

This way ignored sub-directories are only traversed if the user explicitly references them in a jbuild file or on the command line.

Fix #228
Fix #718

@ghost ghost requested a review from rgrinberg April 30, 2018 15:56
src/file_tree.ml Outdated
| None ->
(* We don't cache failures in [t.dirs]. The expectation is
that these only happen when the user writes an invalid path
in a jbuild file, so there is no need to chache them. *)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

*cache

@ghost ghost merged commit b54c438 into ocaml:master May 1, 2018
@ghost ghost mentioned this pull request May 11, 2018
This pull request was closed.
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.

1 participant