Module type OpamPatch.FS_ABSTR

type root

The root is the type of the element that we want to patch: a directory, an archive, etc.

type file

The file is the type of internal files that we manipulate

type target

The target is the inner type of the element that we are patching

val root_label : string
val translate_patch : bool
val root_to_string : root -> string
val file_to_string : file -> string
val equal_file : file -> file -> bool
val get_path : fail:(unit -> unit) -> root -> string -> file
val write : file -> string -> target -> target
val on_unclean_accept : file -> string option -> unit
val on_unclean_reject : file -> string option -> Patch.t -> unit
val exists : file -> target -> bool
val exists_dir : file -> target -> bool
val read : file -> target -> string
val remove : file -> target -> target
val remove_dir : file -> target -> target
val same_dirname : src:file -> dst:file -> bool
val mv : src:file -> dst:file -> target -> target
val open_ : root -> (target -> unit) -> unit
val save : target -> unit