llvm::sys::fs::md5_contents

Compute an MD5 hash of the file at Path.

Synopsis

Declared in <llvm/Support/FileSystem.h>

ErrorOr<MD5::MD5Result>
md5_contents(Twine const& Path);

Return Value

An MD5Result with the hash computed, if successful, otherwise a std::error_code.

Parameters

NameDescription
PathInput path of the file to hash.