|
|
@ -20,8 +20,10 @@ mfm::dup(const Opts::Dup &opts_) |
|
|
{ |
|
|
{ |
|
|
std::vector<std::filesystem::path> paths; |
|
|
std::vector<std::filesystem::path> paths; |
|
|
|
|
|
|
|
|
|
|
|
paths = opts_.paths; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for(const auto &path : paths) |
|
|
|
|
|
{ |
|
|
if(fs::is_regular_file(opts_.path)) |
|
|
if(fs::is_regular_file(opts_.path)) |
|
|
{ |
|
|
{ |
|
|
} |
|
|
} |
|
|
@ -47,4 +49,5 @@ mfm::dup(const Opts::Dup &opts_) |
|
|
{ |
|
|
{ |
|
|
throw std::runtime_error("invalid file type"); |
|
|
throw std::runtime_error("invalid file type"); |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
} |
|
|
} |