API Reference > imodeljs-backend > Portability > IModelJsFs > readdirSync readdirSync MethodStatic Get the file and directory names in the specified directory. Excludes "." and "..". readdirSync(path: string): string[] Parameter Type Description path string Returns - string[] Defined in core/backend/src/IModelJsFs.ts Line 62 Last Updated: 13 June, 2024