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

Function expandFilePath

src/utils/commitAttribution.ts:296–301  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

294 * Expand a relative path to absolute path.
295 */
296export function expandFilePath(filePath: string): string {
297 if (isAbsolute(filePath)) {
298 return filePath
299 }
300 return join(getAttributionRepoRoot(), filePath)
301}
302
303/**
304 * Create an empty attribution state for a new session.

Callers 1

getFileMtimeFunction · 0.85

Calls 1

getAttributionRepoRootFunction · 0.85

Tested by

no test coverage detected