Skip to content

Latest commit

 

History

History
71 lines (46 loc) · 2 KB

modules.md

File metadata and controls

71 lines (46 loc) · 2 KB

fatfs-wasm / Exports

fatfs-wasm

High-level interface for creating and accessing FAT images using the FatFS library by CHaN.

Table of contents

Enumerations

Classes

Type Aliases

Type Aliases

FatFsDiskOptions

Ƭ FatFsDiskOptions: Object

Options for creating a FatFsDisk.

Type declaration

Name Type Description
multiPartition? boolean Whether or not to enable multi-partition disks, which enables fdisk
sectorSize? number The size of the filesystem disk sectors, in bytes. Uses 512 if not provided.

Defined in

src/fatfs.ts:752


FatFsMkfsOptions

Ƭ FatFsMkfsOptions: Object

Options provided to mkfs

Type declaration

Name Type Description
align? number Data area alignment (sector)
auSize? number Cluster size (byte)
fmt? FatFsFormat Format option (FM_FAT, FM_FAT32, FM_EXFAT and FM_SFD)
nFat? number Number of FATs
nRoot? number Number of root directory entries
path? string Drive number to format. Empty string uses default drive

Defined in

src/fatfs.ts:260