mirror of
https://github.com/trapexit/mergerfs.git
synced 2025-04-24 22:14:05 +08:00
fs_find_mount_point.cpp
This commit is contained in:
parent
f0d4d26ea5
commit
47988f4357
@ -22,8 +22,10 @@ fs::find_mount_point(const ghc::filesystem::path &path_)
|
||||
ghc::filesystem::path can_path;
|
||||
ghc::filesystem::path tmp_path;
|
||||
|
||||
printf("%s\n",ghc::filesystem::weakly_canonical(path_).string().c_str());
|
||||
printf("%s\n",ghc::filesystem::absolute(path_).string().c_str());
|
||||
|
||||
can_path = ghc::filesystem::weakly_canonical(path_,ec);
|
||||
printf("%s\n",can_path.string().c_str());
|
||||
if(ec)
|
||||
can_path = ghc::filesystem::absolute(path_,ec);
|
||||
if(ec)
|
||||
|
Loading…
x
Reference in New Issue
Block a user