viewsKey
The setting saying which state of the branch its views were last brought up to date with
(<branch>@<log head>): the codebase's own branch's, or a session's.
import type { CodebaseCore } from "#codebase/tcmts/cli/codebase"; export const viewsKey = (cb: CodebaseCore): string => cb.sessionDir ? `views_at:${cb.store.branch().name}` : "views_at"