Module utils
Source - NamespaceHasher
- A utility struct for namespacing keys using XXH3 hashing.
- align_or_copy
- Attempts to reinterpret a byte slice as a slice of
T, falling back to copying if alignment fails. - append_extension
- Appends an additional extension to the existing extension of a file path.
- format_bytes
- Converts a file size in bytes into a human-readable format.
- parse_buffer_size
- Parses a buffer size string with optional unit suffixes into a
usize value. - verify_file_existence
- Checks if the storage file exists and is a valid file before initializing.