iter_all_entry_dirs#
- scikitplot.cython.iter_all_entry_dirs(cache_root)[source]#
Return all cache entry directories whose name is a valid cache key.
- Parameters:
- cache_rootstr or pathlib.Path or None
Cache root.
- Returns:
- list[pathlib.Path]
Entry directory paths, sorted by name for deterministic ordering.
- Parameters:
- Return type:
Notes
A
listis returned rather than a generator so that callers can iterate the result multiple times safely (e.g., once for stats and once for GC). A generator would be silently exhausted on the second pass, producing an empty sequence with no error.