comparison rust/hg-core/src/lib.rs @ 52303:22d24f6d6411

rust-lib: remove exports for not too common pattern-related types This only muddies the lib and makes the imports more confusing.
author Rapha?l Gom?s <rgomes@octobus.net>
date Mon, 04 Nov 2024 11:26:41 +0100
parents f33b87b46135
children 1866119cbad7
comparison
equal deleted inserted replaced
52302:f33b87b46135 52303:22d24f6d6411
39 pub mod revset; 39 pub mod revset;
40 pub mod transaction; 40 pub mod transaction;
41 pub mod update; 41 pub mod update;
42 pub mod utils; 42 pub mod utils;
43 pub mod vfs; 43 pub mod vfs;
44
45 pub use filepatterns::{
46 parse_pattern_syntax_kind, read_pattern_file, IgnorePattern,
47 PatternFileWarning, PatternSyntax,
48 };
49 use std::{collections::HashMap, sync::atomic::AtomicBool}; 44 use std::{collections::HashMap, sync::atomic::AtomicBool};
50 use twox_hash::RandomXxHashBuilder64; 45 use twox_hash::RandomXxHashBuilder64;
51 46
52 /// Used to communicate with threads spawned from code within this crate that 47 /// Used to communicate with threads spawned from code within this crate that
53 /// they should stop their work (SIGINT was received). 48 /// they should stop their work (SIGINT was received).