Is the file mounted on a local filesystem?

Synopsis

Declared in <llvm/Support/FileSystem.h>

std::error_code
is_local(
    Twine const& path,
    bool& result);

Return Value

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

Parameters

Name

Description

path

Input path.

result

Set to true if path is on fixed media such as a hard disk, false if it is not.

Created with MrDocs