mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
17 lines
353 B
Rust
17 lines
353 B
Rust
pub mod grammar;
|
|
pub fn reformat(x: String) -> String {
|
|
x
|
|
}
|
|
|
|
pub fn add_preamble(_x: crate::flags::CodegenType, y: String) -> String {
|
|
y
|
|
}
|
|
pub fn ensure_file_contents(
|
|
_x: crate::flags::CodegenType,
|
|
path: &std::path::Path,
|
|
contents: &String,
|
|
_check: bool,
|
|
) {
|
|
std::fs::write(path, contents).expect("Unable to write file");
|
|
}
|