Skip to content

Commit

Permalink
Updated new behavior of readLines in scaladoc
Browse files Browse the repository at this point in the history
  • Loading branch information
Hombre-x committed Aug 23, 2024
1 parent 0b41b87 commit cd4cb57
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ object FilesOs {

/**
* Reads the contents of the file at the path using UTF-8 decoding and returns
* it line by line as a List of Strings.
* it line by line as a List of Strings. It will ignore any empty characters
* after the last newline (similar to `wc -l`).
*
* @param path
* The path to read from
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ package object path {

/**
* Reads the contents of the file at the path using UTF-8 decoding and
* returns it line by line as a List of Strings.
* returns it line by line as a List of Strings. It will ignore any empty
* characters after the last newline (similar to `wc -l`).
*
* @param path
* The path to read from
Expand Down

0 comments on commit cd4cb57

Please sign in to comment.