ΒΆinline std::error_code file_size(
const llvm::Twine& Path,
uint64_t& Result)
inline std::error_code file_size(
const llvm::Twine& Path,
uint64_t& Result)
Description
Get file size.
Declared at: llvm/include/llvm/Support/FileSystem.h:696
Parameters
- const llvm::Twine& Path
- Input path.
- uint64_t& Result
- Set to the size of the file in \a Path.
Returns
errc::success if result has been successfully set, otherwise a platform-specific error_code.