MCPcopy Create free account
hub / github.com/dmno-dev/bumpy / safeReaddir

Function safeReaddir

packages/bumpy/src/core/workspace.ts:101–107  ·  view source on GitHub ↗
(dir: string)

Source from the content-addressed store, hash-verified

99}
100
101async function safeReaddir(dir: string): Promise<string[]> {
102 try {
103 return await readdir(dir);
104 } catch {
105 return [];
106 }
107}
108
109async function isDirectory(path: string): Promise<boolean> {
110 try {

Callers 1

expandGlobFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…