package swhid

  1. Overview
  2. Docs
OCaml library to work with Software Heritage identifiers

Install

Dune Dependency

Authors

Maintainers

Sources

0.1.tar.gz
sha256=1ca94411004d45b42194ed70754993592dffc1b5836c15276ed81d2e92f662fb
sha512=80ba0f2e795305e3a0084018216e6ae95690a074e322de24076b4829afc8afc4dc9240534dd88a22779f6ccf1e5bf78dee9a1aedaba3a2209a3c3a0f4d66711b

doc/swhid/Swhid/Parse/index.html

Module Swhid.ParseSource

Sourceval parse : Lexing.lexbuf -> (Lang.identifier, string) result

parse buf parses a swhid from the buf Stdlib.Lexing.lexbuf.

Sourceval from_string : string -> (Lang.identifier, string) result

from_string s parses a swhid from string s.

Sourceval from_channel : in_channel -> (Lang.identifier, string) result

from_channel c parses a swhid from channel c

Sourceval from_file : string -> (Lang.identifier, string) result

from_file f parses a swhid from the file of name f.

OCaml

Innovation. Community. Security.