Get the path to the cache directory for a Config. :meta private:
(config: Config, *, _ispytest: bool = False)
| 97 | |
| 98 | @staticmethod |
| 99 | def cache_dir_from_config(config: Config, *, _ispytest: bool = False) -> Path: |
| 100 | """Get the path to the cache directory for a Config. |
| 101 | |
| 102 | :meta private: |
| 103 | """ |
| 104 | check_ispytest(_ispytest) |
| 105 | return resolve_from_str(config.getini("cache_dir"), config.rootpath) |
| 106 | |
| 107 | def warn(self, fmt: str, *, _ispytest: bool = False, **args: object) -> None: |
| 108 | """Issue a cache warning. |
no test coverage detected