stuff
This commit is contained in:
parent
4a58996e44
commit
6e325179a2
4 changed files with 24 additions and 21 deletions
|
|
@ -41,7 +41,7 @@ impl FeedStore {
|
|||
format!("{}.toml", self.feed_path(url))
|
||||
}
|
||||
|
||||
pub fn get_fetchdata(&self, url: &Url) -> FetchData {
|
||||
pub fn load_fetchdata(&self, url: &Url) -> FetchData {
|
||||
let path = self.fetchdata_path(url);
|
||||
if !fs::exists(path.clone()).unwrap() {
|
||||
return FetchData::default();
|
||||
|
|
|
|||
Loading…
Reference in a new issue