tighten module interfaces: explicit re-exports, private helpers, inline dedup
- Replace `pub use types::*` in store/mod.rs with explicit re-export list - Make transcript_dedup_key private in agents/enrich.rs (only used internally) - Inline duplicated projects_dir() helper in agents/knowledge.rs and daemon.rs
This commit is contained in:
parent
cee9b76a7b
commit
7c491e92eb
4 changed files with 10 additions and 12 deletions
|
|
@ -26,7 +26,13 @@ mod persist;
|
|||
mod ops;
|
||||
|
||||
// Re-export everything callers need
|
||||
pub use types::*;
|
||||
pub use types::{
|
||||
memory_dir, nodes_path,
|
||||
now_epoch, epoch_to_local, format_date, format_datetime, format_datetime_space, today,
|
||||
Node, Relation, NodeType, Provenance, RelationType,
|
||||
RetrievalEvent, Params, GapRecord, Store,
|
||||
new_node, new_relation,
|
||||
};
|
||||
pub use parse::{MemoryUnit, parse_units};
|
||||
pub use view::{StoreView, AnyView};
|
||||
pub use persist::fsck;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue