radex v0.1.0 Radex.Writer.Example behaviour View Source

Behaviour for example writers

Link to this section Summary

Functions

Get examples for a map of metadata

Only use an example if there are 1 or more conns

Link to this section Functions

Link to this function examples(metadata) View Source
examples(metadata :: map) :: [Radex.Metadata.t]

Get examples for a map of metadata

Only use an example if there are 1 or more conns

Link to this section Callbacks

Link to this callback write(metadata, path) View Source
write(metadata :: map, path :: Path.t) :: :ok