stop clonepath at base directory. fixes #467

This commit is contained in:
Antonio SJ Musumeci 2018-03-07 18:24:47 -05:00
parent 62ae871d51
commit f48c16d162
14 changed files with 238 additions and 267 deletions

View file

@ -26,4 +26,11 @@ namespace fs
int clonepath(const std::string &from,
const std::string &to,
const std::string &relative);
int clonepath_as_root(const std::string &from,
const std::string &to,
const char *relative);
int clonepath_as_root(const std::string &from,
const std::string &to,
const std::string &relative);
}