Recase.PathCase (recase v0.7.0) View Source

Module to convert strings to path/case.

This module should not be used directly.

Path case preserves the original case, but inserts path separator to appropriate places.

By default uses / as a path separator.

Examples

iex> Recase.to_path "foo_barBaz-λambdaΛambda-привет-Мир"
"foo/bar/Baz/λambda/Λambda/привет/Мир"

Link to this section Summary

Link to this section Functions

Link to this function

convert(value, separator \\ "/")

View Source

Specs

convert(String.t(), String.t()) :: String.t()