Takes a file path string and parses it into the directory part, the base part, and the full path.
The file path to parse.
An object representing the different ways the file path can be represented.
If the file path is invalid.
Takes a file path string and parses it into the directory part, the base part, and the full path.