Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vercel/next.js
/ filter
Function
filter
packages/next/src/export/index.ts:663–666 ·
view source on GitHub ↗
(path)
Source
from the content-addressed store, hash-verified
661
await
span.traceChild(
'copy-public-directory'
).traceAsyncFn(() =>
662
recursiveCopy(publicDir, outDir, {
663
filter(path) {
664
// Exclude paths used by pages
665
return
!exportPathMap[path]
666
},
667
})
668
)
669
}
Callers
1
_copy
Function · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected