| 295 | } |
| 296 | |
| 297 | struct BuildState /*<'a>*/ { |
| 298 | pub types: String, |
| 299 | pub hooks: Vec<Hook>, |
| 300 | pub unprocessed_files: Vec<PathBuf>, |
| 301 | // pub ignore_file_config: Option<gitignore::File<'a>>, |
| 302 | pub is_debug: bool, // this is a hack, we shouldn't have is_debug in the build state since it's global state rather than build/input-path specific state. |
| 303 | } |
| 304 | |
| 305 | fn generate_hook_name(base_input_path: &Path, input_path: &Path, fn_name: &str) -> String { |
| 306 | let relative_file_path = input_path.strip_prefix(base_input_path).unwrap(); |
nothing calls this directly
no outgoing calls
no test coverage detected