TODO: This needs to be removed imo
(database: &Database)
| 506 | |
| 507 | // TODO: This needs to be removed imo |
| 508 | pub(crate) fn pull_files(database: &Database) -> Result<bool, ()> { |
| 509 | if !pull_projects(database)? { |
| 510 | return Ok(false); |
| 511 | } |
| 512 | let Some(project) = get_remote_project_for_local_database(database)? else { |
| 513 | return Ok(false); |
| 514 | }; |
| 515 | project.pull_files()?; |
| 516 | Ok(true) |
| 517 | } |
| 518 | |
| 519 | /// Completely sync a type archive, pushing/pulling/merging/applying changes |
| 520 | /// |
no test coverage detected