[+] Docker

This commit is contained in:
2026-05-08 06:29:13 +00:00
parent d19b061f7c
commit b7f3404f99
8 changed files with 151 additions and 4 deletions
+16
View File
@@ -41,6 +41,22 @@ where
Ok(config)
}
pub fn prompt_run_full_sync_now_with_io<R, W>(
config: &Config,
reader: &mut R,
writer: &mut W,
) -> Result<bool>
where
R: BufRead,
W: Write,
{
if config.mirrors.is_empty() {
return Ok(false);
}
prompt_bool(reader, writer, "Run full sync now?", false)
}
fn add_sync_group<R, W>(reader: &mut R, writer: &mut W, config: &mut Config) -> Result<()>
where
R: BufRead,