refactor(cli): drop unused function

This commit is contained in:
ObserverOfTime 2025-08-05 21:54:37 +03:00
parent 9d619d6fdc
commit bbec252c51

View file

@ -102,24 +102,6 @@ const ROOT_ZIG_TEMPLATE: &str = include_str!("./templates/root.zig");
const TREE_SITTER_JSON_SCHEMA: &str =
"https://tree-sitter.github.io/tree-sitter/assets/schemas/config.schema.json";
#[must_use]
pub fn path_in_ignore(repo_path: &Path) -> bool {
[
"bindings",
"build",
"examples",
"node_modules",
"queries",
"script",
"src",
"target",
"test",
"types",
]
.iter()
.any(|dir| repo_path.ends_with(dir))
}
#[derive(Serialize, Deserialize, Clone)]
pub struct JsonConfigOpts {
pub name: String,