mirror of
https://github.com/Zygo/bees.git
synced 2025-07-01 00:02:27 +02:00
extent scan: refactor BeesScanMode so derived classes decide their own scan scheduling
BeesScanModeExtent uses six scan Tasks instead of one, which leads to awkwardness like the do_scan method to tell crawl_roots how to do what it shouldn't need to know how to do anyway. Move the crawl_roots logic into the ::scan methods themselves. This also deletes the very popular "crawl_more ran out of data" message. Extent scan explicitly indicates when a scan is complete, so there's no longer a need to fish this message out of the log. Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
@ -567,7 +567,6 @@ class BeesRoots : public enable_shared_from_this<BeesRoots> {
|
||||
void state_load();
|
||||
ostream &state_to_stream(ostream &os);
|
||||
void state_save();
|
||||
bool crawl_roots();
|
||||
string crawl_state_filename() const;
|
||||
void crawl_state_set_dirty();
|
||||
void crawl_state_erase(const BeesCrawlState &bcs);
|
||||
|
Reference in New Issue
Block a user