Zot.Type.Path (zot v0.19.0)

View Source

Describes a path string type.

A valid path has non-empty segments separated by single forward slashes and may optionally end with a trailing forward slash. It can be constrained to absolute paths (leading forward slash) or relative paths (no leading forward slash) and can optionally be matched against a glob pattern (see Zot.Utils.glob/1).

Summary

Functions

glob(type, value, opts \\ [])

kind(type, value \\ nil)

length(type, value, opts \\ [])

max(type, value, opts \\ [])

min(type, value, opts \\ [])