komrad

shrink_worktrees

Queue worktrees to be shrunk in the background.

writesidempotentdestructiveCLI onlyWorktree

Shrinking deletes the gitignored dependency and build directories that sit beside the file that rebuilds them. Komrad shrinks only the worktrees of archived tasks, and leaves every other worktree alone.

Calling it#

curl -X POST http://127.0.0.1:8787/komrad.worktree.v1.WorktreeService/ShrinkWorktrees \
  -H 'Content-Type: application/json' \
  -d '{
  "dirs": [
    "<dirs>"
  ]
}'

Request#

ShrinkWorktreesRequest#

Response#

Empty#

No fields.