Function expand_slice

Source
pub fn expand_slice(slice: &str) -> Result<String>
Expand description

Expand a slice name to a full path in the filesystem.

§Arguments

  • slice - A string slice that holds the slice name in the format “xxx-yyy-zzz.slice”.

§Returns

A string that represents the full path of the slice in the filesystem. In the above case, the value would be “xxx.slice/xxx-yyy.slice/xxx-yyy-zzz.slice”.