bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Add 'guix hash'.


From: Nikita Karetnikov
Subject: Re: [PATCH] Add 'guix hash'.
Date: Fri, 05 Apr 2013 18:14:31 +0400

> +         (if (file-exists? file)
> +             (format #t "~a~%"
> +                     (call-with-input-file file
> +                       (compose fmt sha256 get-bytevector-all)))

Oh, Mark warned me about 'file-exists?' some time ago.

How can I do the same but avoid a race condition?

Attachment: pgpvCY_4oV7Rv.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]