package fat-filesystem

  1. Overview
  2. Docs
type t = int list

A sequence of clusters containing file data

val follow : Fat_format.t -> fat -> int -> t

follow_chain format fat cluster returns the list of sectors containing data according to FAT fat which is of type format.

val extend : Fat_boot_sector.t -> Fat_format.t -> fat -> int option -> int -> t

extend boot format fat last n allocates n free clusters to extend the chain whose current end is last

val to_sectors : Fat_boot_sector.t -> t -> int list

to_sectors boot t converts the chain t into a sequence of sectors


Innovation. Community. Security.