package opam-core

  1. Overview
  2. Docs

Simple structure to handle file attributes

include OpamStd.ABSTRACT
type t
val compare : t -> t -> int
val equal : t -> t -> bool
val of_string : string -> t
val to_string : t -> string
val to_json : t OpamJson.encoder
val of_json : t OpamJson.decoder
module Set : OpamStd.SET with type elt = t
module Map : OpamStd.MAP with type key = t
val to_string_list : t -> string list
val of_string_list : string list -> t
val base : t -> Base.t

Get remote filename

val md5 : t -> OpamHash.t

MD5 digest of the remote file

val perm : t -> int option

File permission

val create : Base.t -> OpamHash.t -> int option -> t

Constructor

OCaml

Innovation. Community. Security.