mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
mfm.cpp
This commit is contained in:
parent
1c27ae2074
commit
896244b76d
1 changed files with 7 additions and 3 deletions
10
src/mfm.cpp
10
src/mfm.cpp
|
|
@ -75,9 +75,13 @@ mfm::main(int argc_,
|
|||
|
||||
auto a = std::filesystem::path("/a/b");
|
||||
auto b = std::filesystem::path("a/b");
|
||||
fmt::println("{}\n{}",
|
||||
a.parent_path().parent_path().empty(),
|
||||
b.parent_path().parent_path().empty());
|
||||
a = a.parent_path().parent_path();
|
||||
fmt::println("{}",
|
||||
a.empty() || a == a.root_path());
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue