aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorChick Markley2019-07-31 15:41:05 -0700
committerSchuyler Eldridge2019-07-31 18:41:05 -0400
commit86d2470d8294a4dba37d33ba021558ba33da4d65 (patch)
tree250319d0d32326952c86ec798ee27e8e5e06a3f8 /src/test
parent3ef04a7f704c9f586bdb0841a3b953a032c77622 (diff)
io.Source is not closed when used in most common text reading idiom (#1142)
- Provide new tools for reading in text - from a file - from a string file name - from a resource file - text can be read in as - a single string with newlines - a seq of strings, one string per line - FileUtils put in its own file - in same package to keep existing API the same Hopefully this will protect users from creating resource leaks that may explain sbt crashing. Also simpler interface should make code more streamlined, existing uses of io.Source seem often to be converting between text and seq unnecessarily. Add note of caution on requiring slash on resource readers
Diffstat (limited to 'src/test')
0 files changed, 0 insertions, 0 deletions