所有命令 · workspace
pm ops gc
Delete optional cache artifacts by default (including expired lock debris) and show a summary.
Deletes optional cache artifacts by default to keep local tracker state tidy; use --dry-run to preview targets without deleting files.
用法
pm ops gc [options]选项
| --dry-run | Preview cleanup targets without deleting files; without this flag, pm gc deletes matched artifacts | 可选 |
|---|---|---|
| --scope <value> | Limit cleanup to one or more scopes (comma-separated or repeatable): index, embeddings, runtime, locks, checkpoints, transactions | 可选 |
示例
pm ops gc --dry-run