Commit 65f9726
authored
feat: Expose cache hits in list_files_cache function (#23439)
## Which issue does this PR close?
- Closes None.
## Rationale for this change
Follow up to #22613 and
#23253. Cache hits are now
supported for all memory-limiting caches. Therefore it makes sense to
expose them in the `list_files_cache` function the same way the
`metadata_cache` and `statistics_cache` functions do it already.
## What changes are included in this PR?
- Add cache hits to the `list_files_cache` function
- Tests
- Adapt documentation for the `list_files_cache` function
## Are these changes tested?
Yes.
## Are there any user-facing changes?
Yes, the `list_files_cache` function supports now cache hits but no
breaking changes.1 parent 04b19a3 commit 65f9726
3 files changed
Lines changed: 13 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
813 | 813 | | |
814 | 814 | | |
815 | 815 | | |
| 816 | + | |
816 | 817 | | |
817 | 818 | | |
818 | 819 | | |
| |||
826 | 827 | | |
827 | 828 | | |
828 | 829 | | |
| 830 | + | |
829 | 831 | | |
830 | 832 | | |
831 | 833 | | |
| |||
851 | 853 | | |
852 | 854 | | |
853 | 855 | | |
| 856 | + | |
854 | 857 | | |
855 | 858 | | |
856 | 859 | | |
| |||
882 | 885 | | |
883 | 886 | | |
884 | 887 | | |
| 888 | + | |
885 | 889 | | |
886 | 890 | | |
887 | 891 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
810 | 810 | | |
811 | 811 | | |
812 | 812 | | |
813 | | - | |
| 813 | + | |
814 | 814 | | |
815 | 815 | | |
816 | 816 | | |
| |||
838 | 838 | | |
839 | 839 | | |
840 | 840 | | |
| 841 | + | |
841 | 842 | | |
842 | 843 | | |
843 | 844 | | |
844 | 845 | | |
845 | | - | |
846 | | - | |
847 | | - | |
848 | | - | |
849 | | - | |
850 | | - | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
851 | 852 | | |
852 | 853 | | |
853 | 854 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
| 211 | + | |
211 | 212 | | |
212 | 213 | | |
213 | 214 | | |
| |||
0 commit comments