suppress error when temp file is deleted
Dependencies
- [2]
OQ6HSAWHshow record log - [3]
ONRCENKTrm unnecessary state from repo's internal state - [4]
23SFYK4Qbig view refactor into a new crate - [5]
XSZZB47Urefactor stuff into lib - [6]
3BK22XE5add a test for hover btn and more refactors - [7]
IFQPVMBDerror handling for repo actions - [8]
FU6P5QLGindicate when a file is a dir with appended '/' - [9]
C3OS2JJ6clear cache on saving record & refresh - [10]
BJ3CYLUTallow to reset changed file - [11]
IQHXLIIUimprove enocoding detection, support images - [12]
EC3TVL4Xadd untracked files - [13]
IOXNOVX2allow to initiate a new repo - [14]
YBJRDOTCmake all repo actions async - [15]
SWWE2R6Mdisplay basic repo stuff - [16]
5O4FWCFPadd tests to_record selection and improve it - [17]
4WO3ZJM2show untracked files' contents - [18]
WAOGSCOJvery nice refactor, wip adding channels logs - [19]
OJPGHVC3entire log! - [20]
YGZ3VCW4add 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)?;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
let log = get_log(repo, Some(&channel), offset, limit)?;let log =get_log(repo, Some(&channel), offset, limit).context("getting log")?; - replacement in libflorescence/src/repo.rs at line 1193
return Some(Err(anyhow::Error::from(e)));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 filesNone} else {Some(Err(anyhow::Error::from(e)))};