diff rust/hg-core/src/vfs.rs @ 52178:bd8081e9fd62

rust: don't star export from the `revlog` module This made a lot of the imports confusing because they didn't make sense at the top level (so, outside of `revlog`), and they hide the more common types when autocompleting.
author Rapha?l Gom?s <rgomes@octobus.net>
date Thu, 26 Sep 2024 14:26:24 +0200
parents 067ec8574c33
children 82007b8c189e
line wrap: on
line diff
--- a/rust/hg-core/src/vfs.rs	Thu Aug 01 11:27:20 2024 +0200
+++ b/rust/hg-core/src/vfs.rs	Thu Sep 26 14:26:24 2024 +0200
@@ -1,7 +1,7 @@
 use crate::errors::{HgError, IoErrorContext, IoResultExt};
 use crate::exit_codes;
 use crate::fncache::FnCache;
-use crate::path_encode::path_encode;
+use crate::revlog::path_encode::path_encode;
 use crate::utils::files::{get_bytes_from_path, get_path_from_bytes};
 use dyn_clone::DynClone;
 use memmap2::{Mmap, MmapOptions};