libtmux Reference MCP Search
On this page

ownership.mayPrune

View as Markdown

Module
ownership
Package
@libtmux/libtmux
Source
packages/workspace/src/ownership.ts
mayPrune ( policy : : PrunePolicy , owned : : boolean ) boolean
function [source]
function [source]
mayPrune

Whether surplus topology may be removed.

owned is the default because it is the only one that is safe without knowing where the session came from: a workspace prunes what it built and leaves alone what it merely found. always authorizes pruning for one operation; it does not stamp or otherwise adopt the session.

0 declared, 0 inherited

Esc

Type to search.