(state)
| 63 | stale paths so over-retention is harmless, just wasteful. |
| 64 | """ |
| 65 | def _record(state): |
| 66 | paths = state.setdefault("touched_paths", []) |
| 67 | if file_path not in paths: |
| 68 | paths.append(file_path) |
| 69 | if len(paths) > 200: |
| 70 | del paths[:len(paths) - 200] |
| 71 | with_locked_state(session_id, _record) |
| 72 | |
| 73 |
nothing calls this directly
no outgoing calls
no test coverage detected