ΒΆstd::error_code equivalent(const llvm::Twine& A,
                           const llvm::Twine& B,
                           bool& result)

Description

Do paths represent the same thing? assert(status_known(A) || status_known(B));

Declared at: llvm/include/llvm/Support/FileSystem.h:502

Parameters

const llvm::Twine& A
Input path A.
const llvm::Twine& B
Input path B.
bool& result
Set to true if stat(A) and stat(B) have the same device and inode (or equivalent).

Returns

errc::success if result has been successfully set, otherwise a platform-specific error_code.