diff options
Diffstat (limited to 'crates/turtle/src/command/client/search.rs')
| -rw-r--r-- | crates/turtle/src/command/client/search.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/crates/turtle/src/command/client/search.rs b/crates/turtle/src/command/client/search.rs index 4a2114d5..72112084 100644 --- a/crates/turtle/src/command/client/search.rs +++ b/crates/turtle/src/command/client/search.rs @@ -23,13 +23,13 @@ mod engines; mod history_list; mod inspector; mod interactive; -pub mod keybindings; +pub(crate) mod keybindings; -pub use duration::format_duration_into; +pub(crate) use duration::format_duration_into; #[expect(clippy::struct_excessive_bools, clippy::struct_field_names)] #[derive(Parser, Debug)] -pub struct Cmd { +pub(crate) struct Cmd { /// Filter search result by directory #[arg(long, short)] cwd: Option<String>, @@ -147,7 +147,7 @@ pub struct Cmd { impl Cmd { /// Returns true if this search command will run in interactive (TUI) mode - pub fn is_interactive(&self) -> bool { + pub(crate) fn is_interactive(&self) -> bool { self.interactive } @@ -155,7 +155,7 @@ impl Cmd { // clippy: now it has too many lines // me: I'll do it later OKAY #[expect(clippy::too_many_lines)] - pub async fn run( + pub(crate) async fn run( self, db: impl Database, settings: &mut Settings, |
