Skip to content

Commit

Permalink
doc: TODO for a simpler future
Browse files Browse the repository at this point in the history
  • Loading branch information
Devdutt Shenoi committed Feb 20, 2024
1 parent f44851e commit 8b6f4c3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions uplink/src/collector/preconditions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ impl PreconditionChecker {

// Fails if there isn't enough space to download and/or install update
// NOTE: both download and installation could happen in the same partition
// TODO: this should be significantly simplified once we move to using `expected-free-space`
// comparison instead of making assumptions about what the user might want.
fn check_disk_size(&self, preconditions: Preconditions) -> Result<(), Error> {
let Some(mut required_free_space) = preconditions.uncompressed_length else {
return Ok(())
Expand Down

0 comments on commit 8b6f4c3

Please sign in to comment.