[darcs-devel] [patch1966] make the index format depend on endianness

Ganesh Sittampalam bugs at darcs.net
Sat Feb 15 20:26:34 UTC 2020


Ganesh Sittampalam <ganesh at earth.li> added the comment:

> patch 60d2900f59e31985dad429447103fb80b1b47feb
> Author: Ben Franksen <ben.franksen at online.de>
> Date:   Sun Jan 26 17:34:03 CET 2020
>   * make the index format depend on endianness


> +index_endianness :: Int32
> +index_endianness = 1

This name is a bit confusing, it's more like
"index_endianness_indicator" or something. A comment along the lines of
"-- |Stored to the index to verify we are on the same endianness when
reading it back" would help.

Looks fine otherwise.

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/patch1966>
__________________________________


More information about the darcs-devel mailing list