package opam-core

  1. Overview
  2. Docs

Simple structure to handle file attributes

include OpamStd.ABSTRACT
type t
val of_string : string -> t
val to_string : t -> string
val to_json : t -> OpamJson.t
val of_json : OpamJson.t -> t option
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