       "/foo/bar"
 
   """
+  @spec expand(t, t) :: binary
   def expand(path, relative_to) do
     normalize absname(absname(expand_home(path), expand_home(relative_to)), System.cwd!)
   end

      "/usr/local/foo"

  """
  def relative_to(path, from) do
    relative_to(split(path), split(from), path)
  end

      Path.wildcard("projects/*/ebin/**/*.{beam,app}")

  """
  @spec basename(t) :: [binary]
  def wildcard(glob) do
    glob
    |> List.from_char_data!
