MCPcopy Create free account
hub / github.com/Noumena-Network/code / generateTmuxSessionName

Function generateTmuxSessionName

src/utils/worktree.ts:175–182  ·  view source on GitHub ↗
(
  repoPath: string,
  branch: string,
)

Source from the content-addressed store, hash-verified

173}
174
175export function generateTmuxSessionName(
176 repoPath: string,
177 branch: string,
178): string {
179 const repoName = basename(repoPath)
180 const combined = `${repoName}_${branch}`
181 return combined.replace(/[/.]/g, '_')
182}
183
184type WorktreeCreateResult =
185 | {

Callers 1

setupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected