MCPcopy Create free account
hub / github.com/VemtoOrg/vemto2 / folderIsNotEmpty

Method folderIsNotEmpty

src/main/base/FileSystem.ts:30–32  ·  view source on GitHub ↗
(folderPath: string)

Source from the content-addressed store, hash-verified

28 }
29
30 folderIsNotEmpty(folderPath: string): boolean {
31 return !this.folderIsEmpty(folderPath)
32 }
33
34 folderIsEmpty(folderPath: string): boolean {
35 return fs.readdirSync(folderPath).length === 0

Callers

nothing calls this directly

Calls 1

folderIsEmptyMethod · 0.95

Tested by

no test coverage detected