Back

unixify-path (clj)

(source)

function

(unixify-path s)
Convert dir separators in `s`, when on Windows, to forward slashes. Using forward slashes in paths make paths platform agnostic as Java does understand / as a path separator on Windows. Note that you'll only want to call this function on relative paths.

Examples