Skip to content

Commit e27707e

Browse files
author
José Valim
committed
Add Path.t (for input types) and Path.r (for output), closes #873
1 parent 5a84acf commit e27707e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/elixir/lib/path.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ defmodule Path do
1414

1515
alias :filename, as: FN
1616

17+
@type t :: char_list | atom | binary
18+
@type r :: char_list | binary
19+
1720
@doc """
1821
Converts the given filename and returns an absolute name.
1922
Differently from `Path.expand/1`, no attempt is made to

0 commit comments

Comments
 (0)