Skip to content

Latest commit

 

History

History
171 lines (91 loc) · 2.87 KB

FatFsDir.md

File metadata and controls

171 lines (91 loc) · 2.87 KB

fatfs-wasm / Exports / FatFsDir

Class: FatFsDir

FatFs Directory Reference

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

new FatFsDir(dirPtr, exports, context)

Parameters

Name Type
dirPtr number
exports FatFsExports
context FatFsMemoryContext

Defined in

src/fatfs.ts:679

Properties

#context

Private #context: FatFsMemoryContext

Defined in

src/fatfs.ts:677


#dirPtr

Private #dirPtr: number

Defined in

src/fatfs.ts:675


#exports

Private #exports: FatFsExports

Defined in

src/fatfs.ts:676

Accessors

dp

get dp(): number

Returns

number

Defined in

src/fatfs.ts:685

Methods

[iterator]

[iterator](): Iterator<FatFsFileInfo, any, undefined>

Returns

Iterator<FatFsFileInfo, any, undefined>

Defined in

src/fatfs.ts:741


close

close(): void

Closes the open directory.

Returns

void

Defined in

src/fatfs.ts:692


findNext

findNext(): FatFsFileInfo

The f_findnext function searches for a next matched object

Returns

FatFsFileInfo

Defined in

src/fatfs.ts:729


read

read(): FatFsFileInfo

Reads an item of the directory.

Returns

FatFsFileInfo

Information about the next directory entry

Defined in

src/fatfs.ts:704


rewind

rewind(): void

Rewinds the directory

Returns

void

Defined in

src/fatfs.ts:719