From bbec252c51809f9caa0e8f7a81718b6f9c727289 Mon Sep 17 00:00:00 2001 From: ObserverOfTime Date: Tue, 5 Aug 2025 21:54:37 +0300 Subject: [PATCH] refactor(cli): drop unused function --- crates/cli/src/init.rs | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/crates/cli/src/init.rs b/crates/cli/src/init.rs index c9bc256d..f54f9a51 100644 --- a/crates/cli/src/init.rs +++ b/crates/cli/src/init.rs @@ -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,