MCPcopy Index your code
hub / github.com/claude-code-best/claude-code / killTmuxSession

Function killTmuxSession

src/utils/worktree.ts:693–700  ·  view source on GitHub ↗
(sessionName: string)

Source from the content-addressed store, hash-verified

691}
692
693export async function killTmuxSession(sessionName: string): Promise<boolean> {
694 const { code } = await execFileNoThrow('tmux', [
695 'kill-session',
696 '-t',
697 sessionName,
698 ])
699 return code === 0
700}
701
702export async function createWorktreeForSession(
703 sessionId: string,

Callers 2

callFunction · 0.85
handleSelectFunction · 0.85

Calls 1

execFileNoThrowFunction · 0.70

Tested by

no test coverage detected