package shakuhachi

  1. Overview
  2. Docs
A music collection manager

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.2.0.tar.gz
sha256=966fc8667c2aa9830e64950d2de74bd564a65d60e1f50cfd3dc1e99ef106dc47
sha512=6423ce04d784ba521a7f49fabdafbe036e2dd80cd08ca999fdc6767262d7f12aa4e5002d65efd4c568b343eaabf4d680191c88334d629e1ca0156084531e9e0b

doc/shakuhachi.config/SkhcConfig/Query/index.html

Module SkhcConfig.QuerySource

Operations on the .query section.

Sourcetype t

type of the query section.

Sourceval section : string

section name.

Sourceval default : t

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

Sourceval init : SkhcQuery.Substring.t list -> t

init ~artist ~album ~title creates a default section with artist, album and title.

Sourceval of_section : Section.t -> t

of_section section parse section to create a query 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 query serializes query into a section.

Sourceval fields : t -> SkhcQuery.Substring.t list

fields query returns the fields used when matching substring node in a query.