mirror of
https://github.com/YGGverse/aquatic-crawler.git
synced 2026-04-02 10:05:30 +00:00
add comments
This commit is contained in:
parent
ee354bcf4f
commit
de34289979
1 changed files with 4 additions and 0 deletions
|
|
@ -4,9 +4,13 @@ use url::Url;
|
||||||
|
|
||||||
/// Export crawl index to the RSS file
|
/// Export crawl index to the RSS file
|
||||||
pub struct Rss {
|
pub struct Rss {
|
||||||
|
/// Resulting (public) file in the XML format
|
||||||
file: File,
|
file: File,
|
||||||
|
/// Shared directory for the feed `file` and its `tmp` buffer file
|
||||||
target: PathBuf,
|
target: PathBuf,
|
||||||
|
/// Creates temporary file to exclude feed format damage on update
|
||||||
tmp: PathBuf,
|
tmp: PathBuf,
|
||||||
|
/// Trackers source for every item in channel
|
||||||
trackers: Option<HashSet<Url>>,
|
trackers: Option<HashSet<Url>>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue