generated from Astrial.org/template
Compare commits
No commits in common. "375d547bc1f18a6204475472b23115962561d255" and "7241a1e8cd44744bbdb3b669d39e27b81d7c2ae2" have entirely different histories.
375d547bc1
...
7241a1e8cd
3 changed files with 1 additions and 15 deletions
|
@ -12,7 +12,6 @@ diaryrs
|
|||
deserialised
|
||||
indoc
|
||||
mgmt
|
||||
tzdb
|
||||
serde
|
||||
|
||||
# Diary Entries
|
||||
|
|
|
@ -35,7 +35,7 @@ pub struct Config {
|
|||
}
|
||||
|
||||
impl Config {
|
||||
const CONFIG_PATHS: [&'static str; 5] = [
|
||||
const CONFIG_PATHS: [&str; 5] = [
|
||||
"diaryrs.toml",
|
||||
"diary.toml",
|
||||
"~/.config/diaryrs.toml",
|
||||
|
|
13
src/mgmt.rs
13
src/mgmt.rs
|
@ -25,19 +25,6 @@ pub struct Inventory {
|
|||
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
|
||||
///
|
||||
/// Does not include the actual contents of the entry, only stats
|
||||
|
|
Loading…
Reference in a new issue