Function storage_path

Source
pub fn storage_path(root_path: &Path, channel_id: u64) -> Box<Path>
Expand description

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