Module iroh_blobs::util::fs  
source · Expand description
Utilities for filesystem operations.
Structs§
- A data source
- Information about the content on a path
Functions§
- This function converts an already canonicalized path to a string.
- Helper function that translates a key that was derived from thepath_to_keyfunction back into a path.
- Loads a [iroh_net::key::SecretKey] from the provided file, or stores a newly generated one at the given location.
- Walks the directory to get the total size and number of files in directory or file
- Helper function that creates a document key from a canonicalized path, removing therootand adding theprefix, if they exist
- This function converts a canonicalized relative path to a string, returning an error if the path is not valid unicode.
- scan_dirrpcCreate data sources from a directory.
- Create data sources from a path.