Returns the directory portion of a path.
dirname("/app/data/save.json") // "/app/data" Copy
dirname("/app/data/save.json") // "/app/data"
Returns the directory portion of a path.