clear cache on saving record & refresh

tzemanovic
Jan 26, 2026, 12:31 PM
C3OS2JJ6Q7SEFKJKYQHEIBPUKGYUAIKFO5T5UQFSZUVRW4VI24GAC

Dependencies

  • [2] W7IUT3ZV start recording impl
  • [3] 6F7Q4ZLR avoid unused warns
  • [4] ACDXXAX2 refactor main's updates into smaller fns
  • [5] 7MJOO4E2 task wrappers tooling workaround
  • [6] WAOGSCOJ very nice refactor, wip adding channels logs
  • [7] WH57EHNM update tests
  • [8] AZ5D2LQU allow to set record description
  • [9] IFQPVMBD error handling for repo actions
  • [10] UPWS6J3B filter to-record changes from selection
  • [11] FU6P5QLG indicate when a file is a dir with appended '/'
  • [12] YGZ3VCW4 add push
  • [13] A5YBC77V record!
  • [14] OQ6HSAWH show record log
  • [15] JZXYSIYD channel selection!
  • [16] ONRCENKT rm unnecessary state from repo's internal state
  • [17] SWWE2R6M display basic repo stuff
  • [18] YBJRDOTC make all repo actions async
  • [*] 6YZAVBWU Initial commit

Change contents

  • replacement in libflorescence/src/repo.rs at line 497
    [9.2910][9.2910:2938]()
    let diff = diff(repo)?;
    [9.2910]
    [9.2938]
    let diff = get_diff(repo)?;
  • replacement in libflorescence/src/repo.rs at line 636
    [11.1628][10.4831:4859](),[10.4831][10.4831:4859]()
    let diff = diff(repo)?;
    [11.1628]
    [10.4921]
    let diff = get_diff(repo)?;
  • replacement in libflorescence/src/repo.rs at line 792
    [2.1173][9.6052:6112]()
    fn diff(repo: &pijul::Repository) -> anyhow::Result<Diff> {
    [2.1173]
    [9.6112]
    fn get_diff(repo: &pijul::Repository) -> anyhow::Result<Diff> {
  • edit in inflorescence/src/main.rs at line 1032
    [7.11635]
    [4.5800]
    file::diffs_cache_clear(&mut state.files.diffs_cache);
  • edit in inflorescence/src/main.rs at line 1168
    [6.91920]
    [8.14518]
    file::diffs_cache_clear(&mut state.files.diffs_cache);