Compare commits

..

No commits in common. "375d547bc1f18a6204475472b23115962561d255" and "7241a1e8cd44744bbdb3b669d39e27b81d7c2ae2" have entirely different histories.

3 changed files with 1 additions and 15 deletions

View file

@ -12,7 +12,6 @@ diaryrs
deserialised deserialised
indoc indoc
mgmt mgmt
tzdb
serde serde
# Diary Entries # Diary Entries

View file

@ -35,7 +35,7 @@ pub struct Config {
} }
impl Config { impl Config {
const CONFIG_PATHS: [&'static str; 5] = [ const CONFIG_PATHS: [&str; 5] = [
"diaryrs.toml", "diaryrs.toml",
"diary.toml", "diary.toml",
"~/.config/diaryrs.toml", "~/.config/diaryrs.toml",

View file

@ -25,19 +25,6 @@ pub struct Inventory {
pub avg_word_count: f64, pub avg_word_count: f64,
} }
/// Represents the front-matter metadata included within each entry. Does not necessarily have to be associated with any real diary entry.
#[derive(Debug)]
pub struct Metadata {
timestamp: String,
timezone: String,
}
impl Metadata {
pub fn read_from_entry(contents: String) {
}
}
/// Represents a single diary entry (markdown file) and its associated stats/metadata /// Represents a single diary entry (markdown file) and its associated stats/metadata
/// ///
/// Does not include the actual contents of the entry, only stats /// Does not include the actual contents of the entry, only stats