mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-22 16:06:27 -05:00
Start using std::filesystem::path for fusepath (#1522)
This commit is contained in:
parent
f64ff9ca1e
commit
8c649d33ee
139 changed files with 1711 additions and 1663 deletions
|
|
@ -53,8 +53,8 @@ fs::cow::is_eligible(const int flags_,
|
|||
}
|
||||
|
||||
bool
|
||||
fs::cow::is_eligible(const char *fullpath_,
|
||||
const int flags_)
|
||||
fs::cow::is_eligible(const fs::path &fullpath_,
|
||||
const int flags_)
|
||||
{
|
||||
int rv;
|
||||
struct stat st;
|
||||
|
|
@ -70,7 +70,7 @@ fs::cow::is_eligible(const char *fullpath_,
|
|||
}
|
||||
|
||||
int
|
||||
fs::cow::break_link(const char *src_filepath_)
|
||||
fs::cow::break_link(const fs::path &src_filepath_)
|
||||
{
|
||||
return fs::copyfile(src_filepath_,
|
||||
src_filepath_,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue