oku_fs::fs

Function path_to_entry_key

Source
pub fn path_to_entry_key(path: PathBuf) -> Bytes
Expand description

Converts a path to a key for an entry in a file system replica.

§Arguments

  • path - The path to convert to a key.

§Returns

A null-terminated byte string representing the path.