23 lines
763 B
Rust
23 lines
763 B
Rust
//! Search operations (glob, grep, ls) with result limiting.
|
|
//!
|
|
//! This module provides:
|
|
//! - `ls()` - List directory contents (TOOLS-SEARCH-01)
|
|
//! - `glob_search()` - Find files matching patterns (TOOLS-SEARCH-02)
|
|
//! - `grep_search()` - Search file contents with regex (TOOLS-SEARCH-03)
|
|
//!
|
|
//! All operations:
|
|
//! - Respect sandbox boundaries
|
|
//! - Enforce result count and byte limits
|
|
//! - Return locations for UI navigation
|
|
//!
|
|
//! **Status**: All functions stubbed, implementation pending
|
|
|
|
pub mod ls;
|
|
pub mod glob;
|
|
pub mod grep;
|
|
|
|
// Re-export main types and functions
|
|
pub use ls::{ls, FileKind, LsEntry, LsRequest, LsResponse};
|
|
pub use glob::{glob_search, GlobRequest, GlobResponse};
|
|
pub use grep::{grep_search, GrepMatch, GrepRequest, GrepResponse};
|