pub fn should_auto_push_index(
auto_index: bool,
logged_in: bool,
local_index_exists: bool,
last_push_for_project: Option<&str>,
today: &str,
) -> boolExpand description
Whether the background index push should run for this project (GL #392): separate opt-in, logged in, a local index actually exists, and this project hasn’t pushed today. Pure for unit testing.