monorepo/l10n-db/src/bundle.rs

25 lines
365 B
Rust
Raw Normal View History

use std::{collections::HashMap, path::Path};
use crate::Message;
pub struct Bundle {
messages: HashMap<String, Message>
}
impl Bundle {
pub fn new() -> Self {
Self{ messages: HashMap::new() }
}
pub fn load_from_disk(path: &Path) -> Self {
Self {
messages: HashMap::new()
}
}
}
#[cfg(test)]
mod test {
}