ΒΆstd::error_code is_local(const llvm::Twine& path,
                         bool& result)

Description

Is the file mounted on a local filesystem?

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

Parameters

const llvm::Twine& path
Input path.
bool& result
Set to true if \a path is on fixed media such as a hard disk, false if it is not.

Returns

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