Module file_async

Module file_async 

Source
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_str with new_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.