[−][src]Function kekbit::core::storage_path
pub fn storage_path(root_path: &Path, channel_id: u64) -> Box<Path>
Returns the path to the file associated with a channel inside a kekbit root folder.
Arguments
root_path
- Path to the kekbit root folder, a folder where channels are stored. Multiple such folders may exist in a system.channel_id
- Channel for which the file path will be returned