package shakuhachi

  1. Overview
  2. Docs
A music collection manager

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.3.2.tar.gz
sha256=c72807d303de137441b643fec1c7630c930ebc792b576783c7961b237c2114db
sha512=770f878bbdac8033d90e904ce8e9c84fc75331c7ff9b35e2204fafe3746f432f2664296dac91942a788b82a2da07478d91b76ed85cd880758d2def8a55144840

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.