package wasm_of_ocaml-compiler

  1. Overview
  2. Docs

Module Wasm_of_ocaml_compiler.ZipSource

Sourcetype output
Sourceval open_out : string -> output
Sourceval add_entry : output -> name:string -> contents:string -> unit
Sourceval add_file : output -> name:string -> file:string -> unit
Sourceval close_out : output -> unit
Sourcetype input
Sourceval open_in : string -> input
Sourceval with_open_in : string -> (input -> 'a) -> 'a
Sourceval has_entry : input -> name:string -> bool
Sourceval read_entry : input -> name:string -> string
Sourceval get_entry : input -> name:string -> in_channel * int * int * int32
Sourceval extract_file : input -> name:string -> file:string -> unit
Sourceval copy_file : input -> output -> src_name:string -> dst_name:string -> unit
Sourceval close_in : input -> unit
OCaml

Innovation. Community. Security.