MCPcopy Index your code
hub / github.com/codeaashu/claude-code / removeOrphanedAtMarker

Function removeOrphanedAtMarker

src/utils/plugins/cacheUtils.ts:122–131  ·  view source on GitHub ↗
(versionPath: string)

Source from the content-addressed store, hash-verified

120}
121
122async function removeOrphanedAtMarker(versionPath: string): Promise<void> {
123 const orphanedAtPath = getOrphanedAtPath(versionPath)
124 try {
125 await unlink(orphanedAtPath)
126 } catch (error) {
127 const code = getErrnoCode(error)
128 if (code === 'ENOENT') return
129 logForDebugging(`Failed to remove .orphaned_at: ${versionPath}: ${error}`)
130 }
131}
132
133function getInstalledVersionPaths(): Set<string> | null {
134 try {

Calls 4

getOrphanedAtPathFunction · 0.85
unlinkFunction · 0.85
getErrnoCodeFunction · 0.85
logForDebuggingFunction · 0.85

Tested by

no test coverage detected