string Path::GetDirectoryName(const string&in path)
Returns the path to the directory of the containing path, including the path separator, excluding the filename. For example, hello/world/foo.txt will return hello/world/.
hello/world/foo.txt
hello/world/
string path
string
path