sig
type error = Duplicate_entry of string | Duplicate_service of string
exception Exception of ArchiveBuilder.error
val string_of_error : ArchiveBuilder.error -> string
type t
val make :
?merge_services:bool ->
?fail_on_duplicate:bool ->
?generate_index:bool -> string -> ArchiveBuilder.t
val add_entry :
ArchiveBuilder.t -> ?prefix:string -> string -> string -> unit
val add_entry_from_file :
ArchiveBuilder.t -> ?prefix:string -> string -> string -> unit
val add_entry_from_class :
ArchiveBuilder.t -> ?prefix:string -> ClassDefinition.t -> unit
val add_entries_from_zip :
ArchiveBuilder.t -> ?prefix:string -> Zip.in_file -> unit
val add_entries_from_archive :
ArchiveBuilder.t -> ?prefix:string -> string -> unit
val add_entries_from_archives :
ArchiveBuilder.t -> ?prefix:string -> string list -> unit
val add_manifest : ArchiveBuilder.t -> Manifest.t -> unit
val close : ArchiveBuilder.t -> unit
val close_noerr : ArchiveBuilder.t -> unit
end