Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cifertech/DisplayKit
/ isPng
Function
isPng
scripts/generate_icon_manifests.mjs:11–13 ·
view source on GitHub ↗
(p)
Source
from the content-addressed store, hash-verified
9
const
iconsDir = path.join(repoRoot,
"icons"
);
10
11
function
isPng(p) {
12
return
p.toLowerCase().endsWith(
".png"
);
13
}
14
15
async
function
walk(dir, baseDir) {
16
const
entries =
await
fs.readdir(dir, { withFileTypes: true });
Callers
1
walk
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected