package shakuhachi

  1. Overview
  2. Docs
A music collection manager

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.1.0.tar.gz
sha256=bb7f91cc44c09f922d2a614e9e01fd0d2976840bacf839a8b99de63c6fc5b3b8
sha512=f02827db4228b017bb2ad7d64cb1c0667831ec2341e6f759266ec834e40627c2affeace143c6d5e769b3acce63f889b3cbd1a9ca4768091840e8fce1d4750f86

doc/shakuhachi.query/SkhcQuery/Field/index.html

Module SkhcQuery.FieldSource

Operations on field node' values.

Sourcemodule String : sig ... end

Operations on string field node.

Sourcemodule Bool : sig ... end

Operations on boolean field node.

Sourcemodule Int : sig ... end

Operations on integer field node.

Sourcemodule Float : sig ... end

Operations on float field node.

Sourcetype t =
  1. | FString of String.t
  2. | FBool of Bool.t
  3. | FInt of Int.t
  4. | FFloat of Float.t

type of field node' values.

Sourceval string : String.t -> t

string s is FString s.

Sourceval bool : Bool.t -> t

bool s is FBool s.

Sourceval int : Int.t -> t

int s is FInt s.

Sourceval float : Float.t -> t

float s is FFloat s.

Sourceval title : bool -> bool -> string -> t

title regex insensible s is string (String.title).

Sourceval sort_name : bool -> bool -> string -> t

sort_name regex insensible s is string (String.sort_name).

Sourceval artist : bool -> bool -> string -> t

artist regex insensible s is string (String.artist).

Sourceval album : bool -> bool -> string -> t

album regex insensible s is string (String.album).

Sourceval album_artist : bool -> bool -> string -> t

album_artist regex insensible s is string (String.album_artist).

Sourceval composer : bool -> bool -> string -> t

composer regex insensible s is string (String.composer).

Sourceval genre : bool -> bool -> string -> t

genre regex insensible s is string (String.genre).

Sourceval path : bool -> bool -> string -> t

path regex insensible s is string (String.path).

Sourceval extension : bool -> bool -> string -> t

extension regex insensible s is string (String.extension).

Sourceval art : bool -> t

art b is bool (Bool.art)

Sourceval flag : bool -> t

flag b is bool (Bool.flag)

Sourceval id : int64 Range.t -> t

id i is int (Int.id).

Sourceval size : int64 Range.t -> t

size i is int (Int.size).

Sourceval track : int Range.t -> t

track i is int (Int.track).

Sourceval year : int Range.t -> t

year i is int (Int.year).

Sourceval disc : int Range.t -> t

disc i is int (Int.disc).

Sourceval plays : int Range.t -> t

plays i is int (Int.plays).

Sourceval length : int Range.t -> t

length i is int (Int.length).

Sourceval rating : int Range.t -> t

rating i is int (Int.rating).

Sourceval album_count : int Range.t -> t

album_count i is int (Int.album_count).

Sourceval avg_duration : float Range.t -> t

avg_duration f is float (Float.avg_duration).

Sourceval avg_rating : float Range.t -> t

avg_rating f is float (Float.avg_rating).

Sourceval avg_size : float Range.t -> t

avg_size f is float (Float.avg_size).

Sourceval to_string : t -> string

to_string field returns a string representation of field.

Sourceval to_sexp : t -> string

to_sexp field returns a s-expression compatible string of field.

Sourceval is_string : t -> bool

is_string field tests whether field is a string valued field.