Expand description
Async file operations for pipeline integration
Wraps the synchronous FileTools via
tokio::task::spawn_blocking for use in async contexts (pipeline, GUI).
Functionsยง
- edit_
file - Edit a file asynchronously by replacing
old_strwithnew_str. - list_
dir - List directory entries asynchronously.
- read_
file - Read a file asynchronously.
- read_
file_ range - Read a file asynchronously with an optional line range.
- search_
files - Search files for a pattern asynchronously.
- tree_
dir - Build a directory tree asynchronously.
- write_
file - Write to a file asynchronously.