The Path class / os.Path methods |
Checks if a path is a relative path or an absolute path.
The function returns "absolute" if the path is an absolute path, or "relative" if the path is a relative path.
If the path is NULL, the function returns NULL.