dirname

fn dirname( path: String ) -> String

Returns the given path without its final component.