Mercurial > public > mercurial-scm > hg
diff rust/hg-core/src/revlog/node.rs @ 47967:6c653d9d41b8
rust: Make private the `index` field of the `Revlog` struct
To replace the previous use of this field from another module, add a
`node_from_rev` method. This is the same method that already existed on
`Changelog`.
Differential Revision: https://phab.mercurial-scm.org/D11414
author | Simon Sapin <simon.sapin@octobus.net> |
---|---|
date | Tue, 14 Sep 2021 18:07:11 +0200 |
parents | b1f2c2b336ec |
children | 2097f63575a5 |