package shakuhachi

  1. Overview
  2. Docs
A music collection manager

Install

dune-project
 Dependency

Authors

Maintainers

Sources

shakuhachi-0.4.0.tar.gz
sha256=8bd4675792ec93d705e68d4e43dc04aa1124fcaf644ae3a1a3fda68464276f95
sha512=712efcbe13e6e9d3336f72c2c25d4b41225cdd245f21adeeadc8aa4ad31ca9c905077e0873a3d1165d7c09357c009c859c4a7cd9c2d0c9bffc27144525594e72

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.