From d4944b27fecd3a2081af4a4e0c76f5a79c99a0cb Mon Sep 17 00:00:00 2001 From: Li Haoyi Date: Wed, 11 Sep 2024 09:15:29 +0800 Subject: [PATCH] Update Readme.adoc --- Readme.adoc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Readme.adoc b/Readme.adoc index e413057f..34a7f9f9 100644 --- a/Readme.adoc +++ b/Readme.adoc @@ -2265,7 +2265,10 @@ string, int or set representations of the `os.PermSet` via: [#0-10-7] === 0.10.7 -* Allow multi-segment paths segments for literals https://github.com/com-lihaoyi/os-lib/pull/297 +* Allow multi-segment paths segments for literals https://github.com/com-lihaoyi/os-lib/pull/297: You + can now write `os.pwd / "foo/bar/qux"` rather than `os.pwd / "foo" / "bar" / "qux"`. Note that this + is only allowed for string literals, and non-literal path segments still need to be wrapped e.g. + `def myString = "foo/bar/qux"; os.pwd / os.SubPath(myString)` for security and safety purposes [#0-10-6] === 0.10.6