if the filename is an absolute path, just return it otherwise, make it absolute (relative to current working dir) and return that
| 361 | // if the filename is an absolute path, just return it |
| 362 | // otherwise, make it absolute (relative to current working dir) and return that |
| 363 | std::string toAbsolutePath(const std::string& filename) |
| 364 | { |
| 365 | return fs::absolute(toNative(filename)).u8string(); |
| 366 | } |
| 367 | |
| 368 | |
| 369 | // if the filename is an absolute path, just return it |