package shakuhachi

  1. Overview
  2. Docs
A music collection manager

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.3.1.tar.gz
sha256=91dc3168bc12fdd6032c16f9990018fd54f91cea50d9f6eb798e4d5eecd9c6a6
sha512=a93c4bf39d80d2c595d361b393f0f1fd2fd078e5bd714988e835a0b5ac8c8c48d3b4cbe2e11d33c9168d9f2f44818b6a60e38b32773bd4967c24794abbf323dd

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.