Mercurial > public > mercurial-scm > hg-stable
diff rust/hg-core/src/revlog/filelog.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 | db7dbe6f7bb2 |
children | a3fa37bdb7ec |
line wrap: on
line diff
--- a/rust/hg-core/src/revlog/filelog.rs Wed Sep 25 18:10:03 2024 +0200 +++ b/rust/hg-core/src/revlog/filelog.rs Wed Sep 25 18:24:15 2024 +0200 @@ -11,10 +11,11 @@ use crate::utils::SliceExt; use crate::Graph; use crate::GraphError; -use crate::RevlogOpenOptions; use crate::UncheckedRevision; use std::path::PathBuf; +use super::options::RevlogOpenOptions; + /// A specialized `Revlog` to work with file data logs. pub struct Filelog { /// The generic `revlog` format.