Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/adobe/react-spectrum
/ getPages.ts
File
getPages.ts
packages/dev/s2-docs/src/getPages.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{cache} from
'react'
;
2
import
{getBaseUrl} from
'./pageUtils'
;
3
import
{glob, readFile} from
'fs/promises'
;
4
import
type
{Page} from
'@parcel/rsc'
;
Callers
nothing calls this directly
Calls
3
getUrl
Function · 0.85
push
Method · 0.80
slice
Method · 0.80
Tested by
no test coverage detected