Mercurial > public > mercurial-scm > hg-stable
diff rust/hg-core/src/revlog/manifest.rs @ 52286:039b7caeb4d9
rust-revlog: introduce an `options` module
This helps group all the relevant revlog options code and makes the `mod.rs`
more readable.
author | Rapha?l Gom?s <rgomes@octobus.net> |
---|---|
date | Wed, 25 Sep 2024 18:24:15 +0200 |
parents | 78fc666a3e94 |
children | f4aede0f01af |
line wrap: on
line diff
--- a/rust/hg-core/src/revlog/manifest.rs Wed Sep 25 18:10:03 2024 +0200 +++ b/rust/hg-core/src/revlog/manifest.rs Wed Sep 25 18:24:15 2024 +0200 @@ -6,9 +6,9 @@ use crate::utils::hg_path::HgPath; use crate::utils::SliceExt; use crate::vfs::VfsImpl; -use crate::{ - Graph, GraphError, Revision, RevlogOpenOptions, UncheckedRevision, -}; +use crate::{Graph, GraphError, Revision, UncheckedRevision}; + +use super::options::RevlogOpenOptions; /// A specialized `Revlog` to work with `manifest` data format. pub struct Manifestlog {