Brr.FileFile objects and reads.
There are various ways to get File.t values. On of them is to create an El.input element of type file and use the El.Input.files function. Another way is to use drag and drop events and get them via the Ev.Data_transfer values.
init () is a file initialisation object with the given properties.
The type for File objects.
of_blob name b is a file named name with data b.
Note. Reading the constructor specificaton it seems this will not look into b to define the Blob.type' of the resulting file object's blob. You should define it via the init object.
val last_modified_ms : t -> intlast_modified_ms f is the last modified time in milliseconds since the POSIX epoch.