Function update_time

Source
pub fn update_time(conf: OsedaConfig) -> Result<(), Box<dyn Error>>
Expand description

Updates the configs last-updated Currently this is used on creation only, TODO fix this

§Arguments

  • conf - a previously loaded or generated OsedaConfig

§Returns

  • Ok(()) if the file is successfully updated
  • Err if file writing fails