mirror of
https://github.com/anthropics/claude-code.git
synced 2026-09-14 19:48:39 +08:00
9 lines
285 B
TypeScript
9 lines
285 B
TypeScript
/**
|
|
* The `$.store` key of a working tree's chosen comparison base, one per
|
|
* `--show-toplevel` so a linked worktree keeps its own.
|
|
*
|
|
* @param toplevel the working tree's top-level path
|
|
* @returns the key
|
|
*/
|
|
export const baseStoreKeyOf = (toplevel: string) => `base:${toplevel}`
|