sameFilesystem

fnbool sameFilesystem(string path1, string path2)

Check whether two paths live on the same filesystem.

Parameters

path1First path.
path2Second path.

Returns

true when both paths exist and reside on the same filesystem.

Throws

NotFoundError when either path does not exist; PathError when

the underlying metadata query fails.