diff options
Diffstat (limited to 'base/file_util_posix.cc')
-rw-r--r-- | base/file_util_posix.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/base/file_util_posix.cc b/base/file_util_posix.cc index 41a0ac6..510747f 100644 --- a/base/file_util_posix.cc +++ b/base/file_util_posix.cc @@ -54,6 +54,10 @@ std::wstring GetDirectoryFromPath(const std::wstring& path) { #endif return UTF8ToWide(dirname(full_path)); } + +bool AbsolutePath(std::wstring* path) { + return ResolveShortcut(path); +} bool Delete(const std::wstring& path, bool recursive) { std::string utf8_path = WideToUTF8(path); |