Skip to content

folder

In std/io/fs.

fn folder(path: String) : Folder
fn folder(path: Path) : Folder

The Folder at path, a String or a Path. Constructing it opens nothing; a relative path resolves as a file's does.