Synchronously returns an array of the file names within path.
path
for (const file of Switch.readDirSync('sdmc:/')) { // … do something with `file` …} Copy
for (const file of Switch.readDirSync('sdmc:/')) { // … do something with `file` …}
Generated using TypeDoc
Synchronously returns an array of the file names within
path
.