Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anomalyco/opencode
/ isDefaultTitle
Function
isDefaultTitle
packages/tui/src/util/session.ts:1–3 ·
view source on GitHub ↗
(title: string)
Source
from the content-addressed store, hash-verified
1
export
function
isDefaultTitle(title: string) {
2
return
/^(New session - |Child session - )\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$/.test(title)
3
}
Callers
2
session.test.ts
File · 0.90
App
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected