pub fn validate_key(key: &str) -> StorageResult<()>Expand description
Validates that a storage key is safe (no path traversal).
ยงErrors
Returns FileError::Storage if the key is empty, contains ..,
or starts with / or \.
pub fn validate_key(key: &str) -> StorageResult<()>Validates that a storage key is safe (no path traversal).
Returns FileError::Storage if the key is empty, contains ..,
or starts with / or \.