Expand description
Async file I/O utilities built on Tokio.
Provides convenience functions for reading/writing files in an async context, path resolution helpers, and a file change detector.
Functionsยง
- exists
- Check if a path exists.
- read_
bytes - Read an entire file as bytes (async).
- read_
to_ string - Read an entire file as a string (async).
- resolve
- Resolve a relative path against a base directory, canonicalizing the result.
- walk_
files - Walk a directory recursively, yielding all file paths matching
extensions. - write_
bytes - Write bytes to a file (async), creating parent directories if needed.
- write_
string - Write a string to a file (async), creating parent directories if needed.