Skip to content

Commit

Permalink
Changed function arity in methods withCharset on syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Hombre-x committed Jul 3, 2024
1 parent 2743acd commit b89d999
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ package object path {
* @return
* The file loaded in memory as a String
*/
def readWithCharset(path: Path, charset: Charset): IO[String] =
def readWithCharset(charset: Charset): IO[String] =
FilesOs.readWithCharset(path, charset)

/**
Expand Down Expand Up @@ -206,7 +206,6 @@ package object path {
* The charset to use to encode the contents
*/
def appendWithCharset(
path: Path,
contents: String,
charset: Charset
): IO[Unit] =
Expand Down

0 comments on commit b89d999

Please sign in to comment.