stuff
This commit is contained in:
parent
85b5c2be89
commit
8b17e93d74
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…
Add table
Add a link
Reference in a new issue