Skip to content

Commit

Permalink
Clarify docstring for split-paths (#93)
Browse files Browse the repository at this point in the history
* Clarify docstring for split-paths

* typo
  • Loading branch information
Sohalt authored Mar 30, 2023
1 parent 6ac9722 commit 291dfc7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/babashka/fs.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,8 @@
(-> path split-ext last))

(defn split-paths
"Splits a string joined by the OS-specific path-seperator into a vec of paths."
"Splits a path list given as a string joined by the OS-specific path-separator into a vec of paths.
On UNIX systems, the separator is ':', on Microsoft Windows systems it is ';'."
[^String joined-paths]
(mapv path (.split joined-paths path-separator)))

Expand Down

0 comments on commit 291dfc7

Please sign in to comment.