mirror of https://github.com/trapexit/mergerfs.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
243 B
16 lines
243 B
#include "fs_find_mount_point.hpp"
|
|
|
|
#include "fs_lstat.hpp"
|
|
|
|
int
|
|
fs::find_mount_point(const ghc::filesystem::path &path_)
|
|
{
|
|
int rv;
|
|
struct stat initial_st;
|
|
|
|
rv = fs::lstat(path_,&initial_st);
|
|
if(rv == -1)
|
|
return -1;
|
|
|
|
return 0;
|
|
}
|