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

Module SkhcConfig.MiscSource

Operations on the .misc section.

Sourcetype t

type of the misc section.

Sourceval section : string

section name.

Sourceval default : t

default is the section used if the default section is missing from the configuration file.

Sourceval init : unicode_normalization_form:Uunf.form -> duplicate_query: (unit, unit, unit, unit, unit) SkhcQuery.Field.t SkhcQuery.Query.t option -> t

init ~unicode_normalization_form ~duplicate_query creates a misc section with unicode_normalization_form and duplicate_query.

Sourceval of_section : Section.t -> t

of_section section parse section to create a misc section. If an expected key is missing from section, the key is associated with its default value.

Sourceval to_section : t -> Section.t

to_section default serializes misc into a section.

Sourceval unicode_normalization_form : t -> Uunf.form

unicode_normalization_form default returns the unicode normalization form used.

Sourceval duplicate_query : t -> (unit, unit, unit, unit, unit) SkhcQuery.Field.t SkhcQuery.Query.t option

duplicate_query default returns the query used for fetching duuplicated music.

  • since 0.3.0
Sourceval set_duplicate_query : (unit, unit, unit, unit, unit) SkhcQuery.Field.t SkhcQuery.Query.t option -> t -> t

set_dupplicate_query query config sets the duplicate_query key of config.

  • since 0.3.0