Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytebase/bytebase
/ isValidProjectName
Function
isValidProjectName
frontend/src/react/lib/resourceName.ts:23–25 ·
view source on GitHub ↗
(name: string | undefined)
Source
from the content-addressed store, hash-verified
21
}
22
23
export
function
isValidProjectName(name: string | undefined): name is string {
24
return
Boolean(name?.startsWith(projectNamePrefix));
25
}
Callers
8
ProjectSegment
Function · 0.90
ProjectSwitchPanel
Function · 0.90
ProjectSwitchPopover
Function · 0.90
buildGroupFilter
Function · 0.90
buildDatabaseFilter
Function · 0.90
createProjectSlice
Function · 0.90
redirect
Function · 0.90
useAppProject
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected