MCPcopy 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

9const iconsDir = path.join(repoRoot, "icons");
10
11function isPng(p) {
12 return p.toLowerCase().endsWith(".png");
13}
14
15async function walk(dir, baseDir) {
16 const entries = await fs.readdir(dir, { withFileTypes: true });

Callers 1

walkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected