package shakuhachi

  1. Overview
  2. Docs
A music collection manager

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.1.0.tar.gz
sha256=bb7f91cc44c09f922d2a614e9e01fd0d2976840bacf839a8b99de63c6fc5b3b8
sha512=f02827db4228b017bb2ad7d64cb1c0667831ec2341e6f759266ec834e40627c2affeace143c6d5e769b3acce63f889b3cbd1a9ca4768091840e8fce1d4750f86

doc/shakuhachi.config/SkhcConfig/Section/index.html

Module SkhcConfig.SectionSource

Operations on a section. No guarantees are made whether duplicated keys will all appear or only one of them will exist.

Sourcetype t

type representing a section.

Sourceval init : string -> (string * string) list -> t

init name keyvals creates a new section named name and having key/value pairs intialiazed with keyvals.

Sourceval assoc : string -> t -> string option

assoc key section tries to find the value associated with key in section. Returns None if no key key exists.

Sourceval name : t -> string

name section retuns the section's name.

Sourceval values : t -> (string * string) list

values section returns the key/value pairs in sections.

Sourceval to_channel : out_channel -> t -> unit

to_channel oc section prints the representation of section to oc.