MCPcopy
hub / github.com/jvilk/BrowserFS / readdirSync

Method readdirSync

src/core/file_system.ts:182–182  ·  view source on GitHub ↗

* **Core**: Synchronous `readdir`. Reads the contents of a directory.

(p: string)

Source from the content-addressed store, hash-verified

180 * **Core**: Synchronous `readdir`. Reads the contents of a directory.
181 */
182 readdirSync(p: string): string[];
183 // **SUPPLEMENTAL INTERFACE METHODS**
184 // File or directory operations
185 /**

Callers 15

IsoFSFactoryFunction · 0.65
nop.jsFile · 0.65
bad_lookup.jsFile · 0.65
readdir_empty.jsFile · 0.65
readdir.jsFile · 0.65
files.jsFile · 0.65
mounting.tsFile · 0.65
readdir.tsFile · 0.65
error-test.tsFile · 0.65

Implementers 10

LockedFSsrc/generic/locked_fs.ts
MountableFileSystemsrc/backend/MountableFileSystem.ts
WorkerFSsrc/backend/WorkerFS.ts
IsoFSsrc/backend/IsoFS.ts
UnlockedOverlayFSsrc/backend/OverlayFS.ts
FolderAdaptersrc/backend/FolderAdapter.ts
ZipFSsrc/backend/ZipFS.ts
XmlHttpRequestsrc/backend/XmlHttpRequest.ts
AsyncMirrorsrc/backend/AsyncMirror.ts
DropboxFileSystemsrc/backend/Dropbox.ts

Calls

no outgoing calls

Tested by

no test coverage detected