(self, db: sqlite3.Connection)
| 215 | ) |
| 216 | |
| 217 | def _create_configs_table(self, db: sqlite3.Connection) -> None: |
| 218 | db.executescript( |
| 219 | 'CREATE TABLE IF NOT EXISTS configs (' |
| 220 | ' path TEXT NOT NULL,' |
| 221 | ' PRIMARY KEY (path)' |
| 222 | ');', |
| 223 | ) |
| 224 | |
| 225 | def mark_config_used(self, path: str) -> None: |
| 226 | if self.readonly: # pragma: win32 no cover |
no outgoing calls
no test coverage detected