convert from readFileStrict
This removes that function, using file-io readFile' instead. Had to deal with newline conversion, which readFileStrict does on Windows. In a few cases, that was pretty ugly to deal with. Sponsored-by: Kevin Mueller
This commit is contained in:
parent
de1af273e0
commit
6e27b0d4d1
19 changed files with 94 additions and 71 deletions
|
@ -18,11 +18,9 @@ status.
|
|||
mechanical, with only some wrapper functions in Utility.FileIO and
|
||||
Utility.RawFilePath needing to be changed.
|
||||
* Utility.FileIO is used for most withFile and openFile, but not yet for
|
||||
readFile, writeFile, and appendFile (except most ones on bytestrings)
|
||||
bytestring. Also readFileStrict should be replaced with
|
||||
Utility.FileIO.readFile'
|
||||
Note that the String versions can do newline translation, which has to be
|
||||
handled when converting to the Utility.FileIO ones.
|
||||
readFile, writeFile, and appendFile on FilePaths.
|
||||
Note that the FilePath versions do newline translation on windows,
|
||||
which has to be handled when converting to the Utility.FileIO ones.
|
||||
|
||||
[[!tag confirmed]]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue