/ — the containing directory. A path with no separator yields "." (the current directory); the root / stays /.
Parameters:
- `p` — the path
```ludic
program Dir {
entry {
if Path.dir("mods/foo/data.json") == "mods/foo" { print(1) }
}
}
```