fatfs-wasm / Exports / FatFsDir
FatFs Directory Reference
• new FatFsDir(dirPtr
, exports
, context
)
Name | Type |
---|---|
dirPtr |
number |
exports |
FatFsExports |
context |
FatFsMemoryContext |
• Private
#context: FatFsMemoryContext
• Private
#dirPtr: number
• Private
#exports: FatFsExports
• get
dp(): number
number
▸ [iterator](): Iterator
<FatFsFileInfo
, any
, undefined
>
Iterator
<FatFsFileInfo
, any
, undefined
>
▸ close(): void
Closes the open directory.
void
▸ findNext(): FatFsFileInfo
The f_findnext function searches for a next matched object
▸ read(): FatFsFileInfo
Reads an item of the directory.
Information about the next directory entry
▸ rewind(): void
Rewinds the directory
void