(start: &Path)
| 141 | } |
| 142 | |
| 143 | fn devtools_frontend_candidates_from(start: &Path) -> Vec<PathBuf> { |
| 144 | start |
| 145 | .ancestors() |
| 146 | .flat_map(|ancestor| { |
| 147 | [ |
| 148 | ancestor.join( |
| 149 | "node_modules/@react-native/debugger-frontend/dist/third-party/front_end", |
| 150 | ), |
| 151 | ancestor.join("chrome-devtools-ui"), |
| 152 | ancestor.join("packages/client/dist/chrome-devtools-ui"), |
| 153 | ] |
| 154 | }) |
| 155 | .collect() |
| 156 | } |
| 157 | |
| 158 | fn is_devtools_frontend_root(path: &Path) -> bool { |
| 159 | path.join("inspector.html").is_file() |
no outgoing calls
no test coverage detected