Mercurial > public > mercurial-scm > hg
view rust/hg-core/src/dirstate_tree.rs @ 50160:5ce53ff6133a
rhg: in path_encode add a DestArr type
This is an implementation of Sink trait that writes into a fixed-size
buffer on the stack, so identical to what was done before, but
it makes the code of [hash_encode] easier to understand by dropping
all these slice manipulations.
author | Arseniy Alekseyev <aalekseyev@janestreet.com> |
---|---|
date | Thu, 16 Feb 2023 18:41:06 +0000 |
parents | 3d0a9c6e614d |
children |
line wrap: on
line source
pub mod dirstate_map; pub mod on_disk; pub mod owning; pub mod path_with_basename; pub mod status;