:sig
function dirname(path : string) string

:params
path : the path to inspect

:returns
The directory part of the path.

:content
`dirname()` removes the final component from a path string.

The function does not access the file system.

:example capy render
print(dirname("/var/www/site/index.capy"), "\n")

:see-group
paths
