Nerves.Utils.WSL.get_wsl_paths

You're seeing just the function get_wsl_paths, go back to Nerves.Utils.WSL module for more information.
Link to this function

get_wsl_paths(file, use_wslpath)

View Source

Specs

get_wsl_paths(String.t(), boolean()) :: {String.t() | nil, String.t() | nil}

Returns a two item tuple containing the Windows host path for a file and its WSL counterpart.

If the path is not available in either Windows or WSL, nil will replace the item

Examples

iex> Nerves.Utils.WSL.get_wsl_paths("mix.exs", Nerves.Utils.WSL.has_wslpath?())
{"C:\Users\username\src\nerves\mix.exs",
"/mnt/c/Users/username/src/nerves/mix.exs"}