port findUtils.ml to rust
commit166c97627773cd0d12f9eb79270209cd571eb4d4
authorTom Yang <toyang@fb.com>
Thu, 5 Nov 2020 20:48:20 +0000 (5 12:48 -0800)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Thu, 5 Nov 2020 20:50:10 +0000 (5 12:50 -0800)
tree4324145fbc81a97c7587cec693ee9b782b77d90a
parent413a756d201a6f9e894a22d5b6bb0ee5180f5dc3
port findUtils.ml to rust

Summary: `findUtils.ml` has been ported as `find_utils.rs` to use in the typechecker re-architecture. We use `findUtils.ml` to determine if a certain file-path corresponds to a hack file, which comes in handy when we're trying to ignore files to typecheck.

Differential Revision: D24710652

fbshipit-source-id: 2fe50aca7cac153e5cbc35a7b7e4932de80c0e39
hphp/hack/src/utils/find_utils.rs [new file with mode: 0644]
hphp/hack/src/utils/find_utils/Cargo.toml [new file with mode: 0644]