podal/src/history/mod.rs

18 lines
308 B
Rust
Raw Normal View History

use crate::prelude::*;
2023-07-25 10:55:02 +01:00
mod add;
2023-07-25 10:53:26 +01:00
mod find;
pub use add::add;
pub use find::find;
type Link = atom_syndication::Link;
pub struct HistoryEnv {
pub find: HistoryFind,
pub add: HistoryAdd,
}
pub type HistoryFind = fn(&Link, &str) -> Result<bool>;
pub type HistoryAdd = fn(&Link, &str) -> Result<()>;