hammond-data: Factor out save method of diesel models into a Trait.

This commit is contained in:
Jordan Petridis
2018-01-28 22:09:06 +02:00
parent fb5264c479
commit 332a439b7a
9 changed files with 75 additions and 57 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ use std::path::Path;
use std::sync::{Arc, Mutex};
use errors::*;
use hammond_data::{EpisodeWidgetQuery, PodcastCoverQuery};
use hammond_data::{EpisodeWidgetQuery, PodcastCoverQuery, Save};
use hammond_data::xdg_dirs::HAMMOND_CACHE;
// TODO: Replace path that are of type &str with std::path.