Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Swapfs.S
SourceThe swap filesystem
A handle for a growable unnamed file on the swap filesystem
empty t
is a handle handle
for an empty unnamed file. Gc.finalise free handle
is called so garbage collected handles automatically result in freed blocks. However, it is recommended to call free handle
manually earlier.
Write data to the end of the unnamed file. Block allocations are done as needed.
get_partial handle ~offset ~length
reads length
bytes at offset offset
from the unnamed file represented by handle
. Errors can happen.