pub trait FileTool: Tool {
// Required methods
fn workspace_root(&self) -> &PathBuf;
fn should_exclude<'life0, 'life1, 'async_trait>(
&'life0 self,
path: &'life1 Path,
) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}
Expand description
Trait for tools that operate on files
Required Methods§
Sourcefn workspace_root(&self) -> &PathBuf
fn workspace_root(&self) -> &PathBuf
Get the workspace root