Skip to content

Commit

Permalink
Update TriceCacheSpec.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rokath authored Oct 3, 2024
1 parent f7cffcc commit 8e1a76e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/TriceCacheSpec.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ When `id.TriceCacheEnabled` is true (applied `-cache` CLI switch) and `~/.trice/
- On command `trice c`, copy, if existing, _cleaned cache file_ into `path/file`. Otherwise process `trice c` and copy result into _cleaned cache file_.
- On command `trice i`, nothing to do
- _last edit_:
- On command `trice c`, invalidate cache, process `trice c` and update _cleaned cache file_, file gets a new mtime, the mtime of _IDs cleaned._ On a following command `trice i`, file mtime is _IDs cleaned_, BUT the cache is invalid, so process `trice i` and update cache/inserted.
- On command `trice i`, invalidate cache, process `trice i` and update _inserted cache file_, file gets a new mtime, the mtime of _IDs inserted_. On a following command `trice c`, file mtime is _IDs inserted_, BUT the cache is invalid, so process `trice c` and update cache/cleaned.
- On command `trice c`, invalidate cache, process `trice c` and update _cleaned cache file_, file gets a new mtime, the mtime of _IDs cleaned_. <sub>On a following command `trice i`, file mtime is _IDs cleaned_, BUT the cache is invalid, so process `trice i` and update cache/inserted.</sub>
- On command `trice i`, invalidate cache, process `trice i` and update _inserted cache file_, file gets a new mtime, the mtime of _IDs inserted_. <sub>On a following command `trice c`, file mtime is _IDs inserted_, BUT the cache is invalid, so process `trice c` and update cache/cleaned.</sub>


## Remarks
Expand Down

0 comments on commit 8e1a76e

Please sign in to comment.