Skip to main content

extract_layer

Function extract_layer 

Source
pub fn extract_layer(path: &str) -> String
Expand description

Extract the layer (top-level directory) from a file path. Returns the first significant directory component.