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/Collection/index.html

Module SkhcConfig.CollectionSource

Operations on the .collection section.

Sourcetype t

type of the collection section

Sourceval section : string

section name

Sourceval init : name:string -> database:string -> music_directory:string -> plugins_directory:string -> t

init ~name ~database ~music_directory ~plugins_directory creates a collection section with name, database, music_directory, plugins_directory.

Sourceval of_section : Section.t -> (t, Err.t) result

of_section section tries to parse section to create a collection section. of_section fails if one of the expected key is missing.

Sourceval to_section : t -> Section.t

to_section collection serializes collection into a section.

Sourceval name : t -> string

name collection returns the collection's name.

Sourceval database : t -> string

database collection returns the path to the database.

Sourceval music_directory : t -> string

music_directory collection returns the path to the music_directory.

Sourceval plugins_directory : t -> string

plugins_directory collection returns the path to the plugins_directory.