mfm_dup.cpp

This commit is contained in:
Antonio SJ Musumeci 2025-09-01 15:32:46 -05:00
parent f455208d16
commit a5cd0c68b9

View file

@ -18,7 +18,7 @@ namespace mfm
void
mfm::dup(const Opts::Dup &opts_)
{
std::vector<std::filesystem::path> paths;
std::vector<std::filesystem::path> srcpaths;
// TODO: expand if mergerfs mount
paths = opts_.paths;
@ -46,6 +46,13 @@ mfm::dup(const Opts::Dup &opts_)
fmt::println("{} {}",
relpath.string(),
de.path().filename().string());
for(const auto &dstpath : paths)
{
if(dstpath == path)
continue;
}
}
}
}