Function: eca-process--get-file-sha256

eca-process--get-file-sha256 is a natively compiled function defined in eca-process.el.

Signature

(eca-process--get-file-sha256 FILE)

Documentation

Compute and return the SHA256 hash of FILE.

Source Code

;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-process.el
(defun eca-process--get-file-sha256 (file)
  "Compute and return the SHA256 hash of FILE."
  (with-temp-buffer
    (set-buffer-multibyte nil)
    (insert-file-contents-literally file)
    (secure-hash 'sha256 (current-buffer))))