Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/vercel/examples
/ isBinaryImage
Function
isBinaryImage
python/vibe-coding-ide/frontend/scripts/build-templates.js:142–145 ·
view source on GitHub ↗
(filename)
Source
from the content-addressed store, hash-verified
140
]
141
142
function
isBinaryImage(filename) {
143
const
ext = path.extname(filename).toLowerCase()
144
return
BINARY_IMAGE_EXTENSIONS.includes(ext)
145
}
146
147
function
readDirRecursive(dir, baseDir = dir) {
148
const
files = {}
Callers
1
walk
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected