MCPcopy Create free account
hub / github.com/Wulf/create-rust-app / BuildState

Class BuildState

crates/qsync/src/processor.rs:297–303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

295}
296
297struct 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
305fn 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();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected