|
1 | | -# OS-Lib 0.7.1 [![Build Status][travis-badge]][travis-link] [![Gitter Chat][gitter-badge]][gitter-link] [![Patreon][patreon-badge]][patreon-link] |
| 1 | +# OS-Lib 0.7.3 [![Build Status][travis-badge]][travis-link] [![Gitter Chat][gitter-badge]][gitter-link] [![Patreon][patreon-badge]][patreon-link] |
2 | 2 |
|
3 | 3 | [travis-badge]: https://travis-ci.org/lihaoyi/os-lib.svg |
4 | 4 | [travis-link]: https://travis-ci.org/lihaoyi/os-lib |
@@ -50,7 +50,7 @@ If you use OS-Lib and like it, you will probably enjoy the following book by the |
50 | 50 | - [*Hands-on Scala Programming*](https://www.handsonscala.com/) |
51 | 51 |
|
52 | 52 | *Hands-on Scala* has uses OS-Lib extensively throughout the book, and has |
53 | | -the entirety of *Chapter 7: Files and Subprocesses* dedicated to |
| 53 | +the entirety of *Chapter 7: Files and Subprocesses* dedicated to |
54 | 54 | OS-Lib. *Hands-on Scala* is a great way to level up your skills in Scala |
55 | 55 | in general and OS-Lib in particular. |
56 | 56 |
|
@@ -161,9 +161,9 @@ To begin using OS-Lib, first add it as a dependency to your project's build: |
161 | 161 |
|
162 | 162 | ```scala |
163 | 163 | // SBT |
164 | | -"com.lihaoyi" %% "os-lib" % "0.7.1" |
| 164 | +"com.lihaoyi" %% "os-lib" % "0.7.3" |
165 | 165 | // Mill |
166 | | -ivy"com.lihaoyi::os-lib:0.7.1" |
| 166 | +ivy"com.lihaoyi::os-lib:0.7.3" |
167 | 167 | ``` |
168 | 168 |
|
169 | 169 | ## Cookbook |
@@ -303,7 +303,7 @@ os.read(wd / "Multi Line.txt") ==> |
303 | 303 | #### os.read.bytes |
304 | 304 |
|
305 | 305 | ```scala |
306 | | -os.read.bytes(arg: os.ReadablePath): Array[Byte] |
| 306 | +os.read.bytes(arg: os.ReadablePath): Array[Byte] |
307 | 307 | os.read.bytes(arg: os.Path, offset: Long, count: Int): Array[Byte] |
308 | 308 | ``` |
309 | 309 |
|
@@ -435,9 +435,9 @@ ujson.read(readable) |
435 | 435 | #### os.write |
436 | 436 |
|
437 | 437 | ```scala |
438 | | -os.write(target: Path, |
439 | | - data: os.Source, |
440 | | - perms: PermSet = null, |
| 438 | +os.write(target: Path, |
| 439 | + data: os.Source, |
| 440 | + perms: PermSet = null, |
441 | 441 | createFolders: Boolean = false): Unit |
442 | 442 | ``` |
443 | 443 |
|
@@ -882,7 +882,7 @@ os.read(wd / "File.txt") ==> |
882 | 882 | |I weigh twice as much as you |
883 | 883 | |And I look good on the barbecue""".stripMargin |
884 | 884 | ``` |
885 | | - |
| 885 | + |
886 | 886 | `os.copy` can also be used as a transformer: |
887 | 887 |
|
888 | 888 | ```scala |
@@ -2077,6 +2077,15 @@ string, int or set representations of the `os.PermSet` via: |
2077 | 2077 |
|
2078 | 2078 | ## Changelog |
2079 | 2079 |
|
| 2080 | +### 0.7.3 |
| 2081 | + |
| 2082 | +- Add support for Scala 3.0.0-RC1 |
| 2083 | +- Migration of the CI system from Travis CI to GitHub Actions |
| 2084 | + |
| 2085 | +### 0.7.2 |
| 2086 | + |
| 2087 | +- Add support for Scala 3.0.0-M3 |
| 2088 | + |
2080 | 2089 | ### 0.7.1 |
2081 | 2090 |
|
2082 | 2091 | - Improve performance of `os.write` by buffering output stream to files |
|
0 commit comments