fast-fs-hash - v0.0.0-rc4
    Preparing search index...

    Function digestFileToHex

    • Hash a file and return the digest as a 32-character hex string. Convenience wrapper around digestFile + hashToHex.

      Parameters

      • path: string

        File path.

      • OptionalthrowOnError: boolean

        If false, returns an all-zero hex string on error. Default true.

      Returns Promise<string>