Get the path to the cache directory for a Config. :meta private:
(config: Config, *, _ispytest: bool = False)
| 133 | |
| 134 | @staticmethod |
| 135 | def cache_dir_from_config(config: Config, *, _ispytest: bool = False) -> Path: |
| 136 | """Get the path to the cache directory for a Config. |
| 137 | |
| 138 | :meta private: |
| 139 | """ |
| 140 | check_ispytest(_ispytest) |
| 141 | return resolve_from_str(config.getini("cache_dir"), config.rootpath) |
| 142 | |
| 143 | def warn(self, fmt: str, *, _ispytest: bool = False, **args: object) -> None: |
| 144 | """Issue a cache warning. |
no test coverage detected