Path.extname

You're seeing just the function extname, go back to Path module for more information.

Specs

extname(t()) :: binary()

Returns the extension of the last component of path.

Examples

iex> Path.extname("foo.erl")
".erl"

iex> Path.extname("~/foo/bar")
""