How to clear column's cache?
See original GitHub issueProblems summary
defx-git を fork して、getcwd() ベースで git status を取得するのではなく、 defx の candidate の root directory から git の status を取得する実装を行いました。 (つまり、defx 上でディレクトリ移動しても適切に git status が反映されるということです。)
https://github.com/kristijanhusak/defx-git/pull/1/files
コレ自体はうまくできていそうなのですが、 差分を commit&push したあとなどに Column 内に保持している git status の結果キャッシュを破棄する方法がわかりませんでした。 また、できれば対応したい機能として、Nsec 毎にキャッシュを更新するなども考えられるのかなと思っています。
これらは defx の思想としてはどのように実現すべきでしょうか。
Expected
- Column が保持するキャッシュを redraw 時に破棄できる
- Column が一定期間毎に内容をリフレッシュできる?
Environment Information
-
defx version(SHA1): ** N/A
-
OS: ** N/A
-
neovim/Vim version: ** N/A
-
:checkhealth
or:CheckHealth
result(neovim only): ** N/A
Provide a minimal init.vim/vimrc with less than 50 lines (Required!)
** N/A
The reproduce ways from neovim/Vim starting (Required!)
** N/A
Generate a logfile if appropriate
** N/A
Screen shot (if possible)
** N/A
Upload the log file
** N/A
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
How to Clear the Column List in an Excel Spreadsheet
1. Click on the letter associated with the appropriate column to highlight all cells in the column. · 2. Right-click a highlighted column....
Read more >Delete & Clear Pivot Table Cache | MyExcelOnline
STEP 5: Go back to your Pivot Table. Right-click and select Refresh. Clear & Delete Old Pivot Table Items cache. Click the Column...
Read more >How to update the column and clear cache from datatable ...
I am using fnUpdate to update the columns,it is updating the columns correctly but when i insert new row and try to update...
Read more >How to Clear Android Cache - groovyPost
Open Settings on your Android device. · Scroll down the menu and tap Apps. · Tap the hamburger menu next to the Your...
Read more >clear cache for ROW SELECTOR Columns — oracle-tech
I have a 'DELETE' button.I select the specific row by clicking on the check box on the left side of each row. When...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think it can be useful. So I don’t remove it.
@Shougo it turned out that this hook is not needed. I updated my code to work without it. You can still leave it in case someone else needs it.