Skip to main content

Module file

Module file 

Source
Expand description

File Tools Module

This module provides file operation tools including:

  • ReadTool: Read text files, images, PDFs, and Jupyter notebooks
  • WriteTool: Write files with read-before-overwrite validation
  • EditTool: Smart string matching and batch edits

Requirements: 4.1, 4.2, 4.3, 4.4, 4.5, 4.6, 4.7, 4.8, 4.9, 4.10

Re-exports§

pub use edit::EditTool;
pub use read::ReadTool;
pub use write::WriteTool;

Modules§

edit
Edit Tool Implementation
read
Read Tool Implementation
write
Write Tool Implementation

Structs§

FileReadHistory
File read history tracker
FileReadRecord
Record of a file read operation

Functions§

compute_content_hash
Compute a hash of file content for change detection
create_shared_history
Create a new shared file read history

Type Aliases§

SharedFileReadHistory
Shared file read history for use across tools