oku_fs::fs

Function entry_key_to_path

Source
pub fn entry_key_to_path(key: &[u8]) -> Result<PathBuf>
Expand description

Converts a key of a replica entry into a path within a replica.

§Arguments

  • key - The replica entry key, being a null-terminated byte string.

§Returns

A path pointing to the file with the key.