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

    Variable digestFileConst

    digestFile: (path: string, throwOnError?: boolean) => Promise<Buffer> = XxHash128Stream.digestFile

    Read a file and return its 128-bit content hash.

    Type Declaration

      • (path: string, throwOnError?: boolean): Promise<Buffer>
      • Parameters

        • path: string

          File path.

        • OptionalthrowOnError: boolean

          If false, returns a zeroed digest on error. Default true.

        Returns Promise<Buffer>