Mercurial > public > mercurial-scm > hg
view rust/hg-core/src/dirstate_tree.rs @ 50158:0d2ec486d95c
refactor: simplify code in rust version of path_encode
Moving the addition of '/' separator to the end of the loop makes the rest
of the logic much simpler because the first iteration is no longer special.
author | Arseniy Alekseyev <aalekseyev@janestreet.com> |
---|---|
date | Thu, 16 Feb 2023 16:20:17 +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;