This commit is contained in:
Thomas Koch 2025-01-11 13:45:03 +02:00
parent 85b5c2be89
commit 8b17e93d74
4 changed files with 24 additions and 21 deletions

View file

@ -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();