suppress error when temp file is deleted

tzemanovic
Feb 16, 2026, 10:12 AM
MWQ7NABXLUOIM635NSN5YNEQNZKURZLKSGIGUXPAWQMFISGJGQFQC

Dependencies

  • [2] OQ6HSAWH show record log
  • [3] ONRCENKT rm unnecessary state from repo's internal state
  • [4] 23SFYK4Q big view refactor into a new crate
  • [5] XSZZB47U refactor stuff into lib
  • [6] 3BK22XE5 add a test for hover btn and more refactors
  • [7] IFQPVMBD error handling for repo actions
  • [8] FU6P5QLG indicate when a file is a dir with appended '/'
  • [9] C3OS2JJ6 clear cache on saving record & refresh
  • [10] BJ3CYLUT allow to reset changed file
  • [11] IQHXLIIU improve enocoding detection, support images
  • [12] EC3TVL4X add untracked files
  • [13] IOXNOVX2 allow to initiate a new repo
  • [14] YBJRDOTC make all repo actions async
  • [15] SWWE2R6M display basic repo stuff
  • [16] 5O4FWCFP add tests to_record selection and improve it
  • [17] 4WO3ZJM2 show untracked files' contents
  • [18] WAOGSCOJ very nice refactor, wip adding channels logs
  • [19] OJPGHVC3 entire log!
  • [20] YGZ3VCW4 add push

Change contents

  • replacement in libflorescence/src/repo.rs at line 565
    [3.1773][7.2820:2910](),[7.2910][9.7:39](),[9.39][7.2938:2988](),[7.2938][7.2938:2988](),[7.2988][8.1518:1571]()
    let channel = current_channel(repo)?;
    let other_channels = other_channels(repo)?;
    let diff = get_diff(repo)?;
    let untracked_files = untracked_files(repo)?;
    let changed_files = changed_files(repo, &diff)?;
    [3.1773]
    [2.301]
    let channel = current_channel(repo).context("getting current channel")?;
    let other_channels =
    other_channels(repo).context("getting other channels")?;
    let diff = get_diff(repo).context("getting diff")?;
    let untracked_files =
    untracked_files(repo).context("getting untracked files")?;
    let changed_files =
    changed_files(repo, &diff).context("getting changed files")?;
  • replacement in libflorescence/src/repo.rs at line 574
    [2.359][7.3051:3112]()
    let log = get_log(repo, Some(&channel), offset, limit)?;
    [2.359]
    [7.3112]
    let log =
    get_log(repo, Some(&channel), offset, limit).context("getting log")?;
  • replacement in libflorescence/src/repo.rs at line 1193
    [8.3282][8.3282:3352]()
    return Some(Err(anyhow::Error::from(e)));
    [8.3282]
    [8.3352]
    return if e.kind() == std::io::ErrorKind::NotFound {
    // Suppress error in cases where the files may
    // be deleted during processing. This tends to
    // happen with e.g. temporary files
    None
    } else {
    Some(Err(anyhow::Error::from(e)))
    };