true when both paths exist and reside on the same filesystem.sameFilesystem
fn
bool sameFilesystem(string path1, string path2)Check whether two paths live on the same filesystem.
Parameters
path1 | First path. |
path2 | Second path. |
Returns
Throws
NotFoundError when either path does not exist; PathError when
the underlying metadata query fails.