ui-utilcpp 1.10.3
|
Get canonical absolute path name (mutex-protected) More...
#include <Misc.hpp>
Public Member Functions | |
std::string | get (std::string const &path) |
Get canonical path, mutex-protected. | |
Get canonical absolute path name (mutex-protected)
You should create one instance of this for one multi-threaded environment, and then call the object's get() method. Purpose is to be faster than realpath() by not having to create a buffer of MAX_PATH each time we call. Tests however suprisingly show it's even somewhat slower.
path | Path to canonize. |