From 65f3876878263b58fc2198e5921fc53ecc8c993c Mon Sep 17 00:00:00 2001 From: Robert Stoll Date: Tue, 5 Mar 2024 20:31:59 +0100 Subject: [PATCH] v1.5.0 --- README.md | 14 +- build.gradle.kts | 14 +- docs/index.md | 4 +- docs/kdoc/images/docs_logo.svg | 7 - docs/kdoc/images/homepage.svg | 3 + docs/kdoc/index.html | 4 +- docs/kdoc/navigation.html | 2 +- .../absolute-path-as-string.html | 6 +- .../niok/ch.tutteli.niok/append-bytes.html | 6 +- .../niok/ch.tutteli.niok/append-text.html | 6 +- .../ch.tutteli.niok/copy-recursively.html | 6 +- docs/kdoc/niok/ch.tutteli.niok/copy-to.html | 6 +- .../ch.tutteli.niok/create-directories.html | 6 +- .../create-directory-if-not-exists.html | 6 +- .../ch.tutteli.niok/create-directory.html | 6 +- .../create-file-if-not-exists.html | 6 +- .../niok/ch.tutteli.niok/create-file.html | 6 +- .../niok/ch.tutteli.niok/create-link.html | 6 +- .../ch.tutteli.niok/create-symbolic-link.html | 6 +- .../ch.tutteli.niok/delete-if-exists.html | 6 +- .../ch.tutteli.niok/delete-recursively.html | 6 +- docs/kdoc/niok/ch.tutteli.niok/delete.html | 6 +- docs/kdoc/niok/ch.tutteli.niok/exists.html | 6 +- docs/kdoc/niok/ch.tutteli.niok/extension.html | 6 +- .../ch.tutteli.niok/file-name-as-string.html | 6 +- .../file-name-without-extension.html | 6 +- .../kdoc/niok/ch.tutteli.niok/file-store.html | 6 +- .../ch.tutteli.niok/follow-symbolic-link.html | 6 +- .../niok/ch.tutteli.niok/for-each-block.html | 6 +- .../niok/ch.tutteli.niok/for-each-line.html | 6 +- .../niok/ch.tutteli.niok/get-attribute.html | 6 +- .../get-file-attribute-view.html | 6 +- docs/kdoc/niok/ch.tutteli.niok/index.html | 248 +++++++++--------- .../invariant-separators-path.html | 6 +- .../niok/ch.tutteli.niok/is-directory.html | 6 +- .../niok/ch.tutteli.niok/is-executable.html | 6 +- docs/kdoc/niok/ch.tutteli.niok/is-hidden.html | 6 +- .../niok/ch.tutteli.niok/is-readable.html | 6 +- .../niok/ch.tutteli.niok/is-regular-file.html | 6 +- docs/kdoc/niok/ch.tutteli.niok/is-rooted.html | 6 +- .../niok/ch.tutteli.niok/is-same-file.html | 6 +- .../ch.tutteli.niok/is-symbolic-link.html | 6 +- .../niok/ch.tutteli.niok/is-writable.html | 6 +- .../ch.tutteli.niok/last-modified-time.html | 6 +- docs/kdoc/niok/ch.tutteli.niok/move.html | 6 +- .../name-without-extension.html | 6 +- .../ch.tutteli.niok/new-buffered-reader.html | 6 +- .../ch.tutteli.niok/new-buffered-writer.html | 6 +- .../ch.tutteli.niok/new-byte-channel.html | 6 +- .../ch.tutteli.niok/new-directory-stream.html | 6 +- .../niok/ch.tutteli.niok/new-directory.html | 6 +- docs/kdoc/niok/ch.tutteli.niok/new-file.html | 6 +- .../ch.tutteli.niok/new-input-stream.html | 6 +- .../ch.tutteli.niok/new-output-stream.html | 6 +- .../kdoc/niok/ch.tutteli.niok/not-exists.html | 6 +- docs/kdoc/niok/ch.tutteli.niok/owner.html | 6 +- .../posix-file-persmissions.html | 6 +- .../niok/ch.tutteli.niok/print-writer.html | 6 +- .../ch.tutteli.niok/probe-content-type.html | 6 +- .../ch.tutteli.niok/re-create-directory.html | 6 +- .../niok/ch.tutteli.niok/read-all-bytes.html | 6 +- .../niok/ch.tutteli.niok/read-all-lines.html | 6 +- .../niok/ch.tutteli.niok/read-attributes.html | 6 +- .../ch.tutteli.niok/read-symbolic-link.html | 6 +- docs/kdoc/niok/ch.tutteli.niok/read-text.html | 6 +- docs/kdoc/niok/ch.tutteli.niok/reader.html | 6 +- .../ch.tutteli.niok/relative-to-or-null.html | 6 +- .../ch.tutteli.niok/relative-to-or-self.html | 6 +- .../niok/ch.tutteli.niok/relative-to.html | 6 +- docs/kdoc/niok/ch.tutteli.niok/resolve.html | 6 +- .../niok/ch.tutteli.niok/set-attribute.html | 6 +- .../set-last-modified-time.html | 6 +- .../set-posix-file-permissions.html | 6 +- docs/kdoc/niok/ch.tutteli.niok/size.html | 6 +- .../ch.tutteli.niok/to-relative-string.html | 6 +- docs/kdoc/niok/ch.tutteli.niok/use-lines.html | 6 +- .../niok/ch.tutteli.niok/write-bytes.html | 6 +- .../niok/ch.tutteli.niok/write-lines.html | 6 +- .../kdoc/niok/ch.tutteli.niok/write-text.html | 6 +- docs/kdoc/niok/ch.tutteli.niok/writer.html | 6 +- docs/kdoc/scripts/navigation-pane.json | 1 - docs/kdoc/scripts/platform-content-handler.js | 45 ++-- docs/kdoc/styles/jetbrains-mono.css | 17 -- docs/kdoc/styles/main.css | 2 +- docs/kdoc/styles/style.css | 66 +++-- 85 files changed, 433 insertions(+), 426 deletions(-) delete mode 100644 docs/kdoc/images/docs_logo.svg create mode 100644 docs/kdoc/images/homepage.svg delete mode 100644 docs/kdoc/scripts/navigation-pane.json delete mode 100644 docs/kdoc/styles/jetbrains-mono.css diff --git a/README.md b/README.md index 77b430c7..11de0aa0 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,16 @@ - -[![Download](https://img.shields.io/badge/Download-1.4.7-%23007ec6)](https://search.maven.org/artifact/ch.tutteli.niok/niok/1.4.7/jar) + - + # Niok - java.nio.file for Kotlin @@ -27,7 +27,7 @@ Niok is published to maven central. Following an example how to use it ``` repositories { mavenCentral() } dependencies { - implementation("ch.tutteli.niok:niok:1.4.7") + implementation("ch.tutteli.niok:niok:1.5.0") } ``` diff --git a/build.gradle.kts b/build.gradle.kts index 416fc461..fe69158e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -3,7 +3,7 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile buildscript { // needs to be defined in here because otherwise tutteli-publish plugin does not have this information when applied rootProject.group = "ch.tutteli.niok" - rootProject.version = "1.5.0-SNAPSHOT" + rootProject.version = "1.5.0" rootProject.description = "API for java.nio.file in a Kotlin idiomatic way" } @@ -81,18 +81,18 @@ nexusPublishing { Release & deploy a commit -------------------------------- 1. generate dokka -a) gr dokka +a) gr dokkaHtml b) check if output/links are still good (use intellij's http server via -> right click -> open in -> browser) 2. update main: Either use the following commands or the manual steps below -export NIOK_PREVIOUS_VERSION=1.4.7 -export NIOK_VERSION=1.4.8 +export NIOK_PREVIOUS_VERSION=1.5.0 +export NIOK_VERSION=1.5.0 find ./ -name "*.md" | xargs perl -0777 -i \ -pe "s@$NIOK_PREVIOUS_VERSION@$NIOK_VERSION@g;" \ - -pe "s@tree/v1.4.7@tree/v$NIOK_VERSION@g;" + -pe "s@tree/v1.5.0@tree/v$NIOK_VERSION@g;" perl -0777 -i \ -pe "s@$NIOK_PREVIOUS_VERSION@$NIOK_VERSION@g;" \ -pe "s/rootProject.version = \"$NIOK_VERSION-SNAPSHOT\"/rootProject.version = \"$NIOK_VERSION\"/;" \ @@ -125,10 +125,10 @@ alternatively the manual steps: Prepare next dev cycle ----------------------- -export NIOK_VERSION=1.4.7 +export NIOK_VERSION=1.5.0 export NIOK_NEXT_VERSION=1.4.8 find ./ -name "*.md" | xargs perl -0777 -i \ - -pe "s@tree/v$NIOK_VERSION@tree/v1.4.7@g;"; + -pe "s@tree/v$NIOK_VERSION@tree/v1.5.0@g;"; perl -0777 -i \ -pe "s/rootProject.version = \"$NIOK_VERSION\"/rootProject.version = \"$NIOK_NEXT_VERSION-SNAPSHOT\"/;" \ -pe "s/NIOK_VERSION=$NIOK_VERSION/NIOK_VERSION=$NIOK_NEXT_VERSION/;" \ diff --git a/docs/index.md b/docs/index.md index 038d1102..8172f65b 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,4 +1,4 @@ -[![Download](https://img.shields.io/badge/Download-1.4.7-%23007ec6)](https://search.maven.org/artifact/ch.tutteli.niok/niok/1.4.7/jar) +[![Download](https://img.shields.io/badge/Download-1.5.0-%23007ec6)](https://search.maven.org/artifact/ch.tutteli.niok/niok/1.5.0/jar) [![Apache license](https://img.shields.io/badge/license-Apache%202.0-brightgreen.svg)](http://opensource.org/licenses/Apache2.0) # Niok - java.nio.file for Kotlin @@ -16,7 +16,7 @@ Niok is published to maven central. Following an example how to use it ``` repositories { mavenCentral() } dependencies { - implementation("ch.tutteli.niok:niok:1.4.7") + implementation("ch.tutteli.niok:niok:1.5.0") } ``` diff --git a/docs/kdoc/images/docs_logo.svg b/docs/kdoc/images/docs_logo.svg deleted file mode 100644 index 7c1e3ae8..00000000 --- a/docs/kdoc/images/docs_logo.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/docs/kdoc/images/homepage.svg b/docs/kdoc/images/homepage.svg new file mode 100644 index 00000000..e3c83b1c --- /dev/null +++ b/docs/kdoc/images/homepage.svg @@ -0,0 +1,3 @@ + + + diff --git a/docs/kdoc/index.html b/docs/kdoc/index.html index d3912b13..9d89242d 100644 --- a/docs/kdoc/index.html +++ b/docs/kdoc/index.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -88,7 +88,7 @@

Packages

diff --git a/docs/kdoc/navigation.html b/docs/kdoc/navigation.html index 6c450991..9958866b 100644 --- a/docs/kdoc/navigation.html +++ b/docs/kdoc/navigation.html @@ -115,7 +115,7 @@
diff --git a/docs/kdoc/niok/ch.tutteli.niok/absolute-path-as-string.html b/docs/kdoc/niok/ch.tutteli.niok/absolute-path-as-string.html index 6b3c7325..6e24382f 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/absolute-path-as-string.html +++ b/docs/kdoc/niok/ch.tutteli.niok/absolute-path-as-string.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

absolutePathAsString

- +
diff --git a/docs/kdoc/niok/ch.tutteli.niok/append-bytes.html b/docs/kdoc/niok/ch.tutteli.niok/append-bytes.html index 781d927a..9c11f6f9 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/append-bytes.html +++ b/docs/kdoc/niok/ch.tutteli.niok/append-bytes.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

appendBytes

- +
diff --git a/docs/kdoc/niok/ch.tutteli.niok/append-text.html b/docs/kdoc/niok/ch.tutteli.niok/append-text.html index f4a7f1c0..8f419a6f 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/append-text.html +++ b/docs/kdoc/niok/ch.tutteli.niok/append-text.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

appendText

-
fun Path.appendText(text: String, charset: Charset = Charsets.UTF_8)(source)

Delegates to kotlin.io.appendText.

+
fun Path.appendText(text: String, charset: Charset = Charsets.UTF_8)(source)

Delegates to kotlin.io.appendText.

diff --git a/docs/kdoc/niok/ch.tutteli.niok/copy-recursively.html b/docs/kdoc/niok/ch.tutteli.niok/copy-recursively.html index 170cc867..b19df372 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/copy-recursively.html +++ b/docs/kdoc/niok/ch.tutteli.niok/copy-recursively.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

copyRecursively

-
fun Path.copyRecursively(target: Path, overwrite: Boolean = false, onError: (Path, IOException) -> OnErrorAction = { _, exception -> throw exception }): Boolean(source)

Delegates to kotlin.io.copyRecursively.

+
fun Path.copyRecursively(target: Path, overwrite: Boolean = false, onError: (Path, IOException) -> OnErrorAction = { _, exception -> throw exception }): Boolean(source)

Delegates to kotlin.io.copyRecursively.

diff --git a/docs/kdoc/niok/ch.tutteli.niok/copy-to.html b/docs/kdoc/niok/ch.tutteli.niok/copy-to.html index 390380a7..8886254a 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/copy-to.html +++ b/docs/kdoc/niok/ch.tutteli.niok/copy-to.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

copyTo

-
inline fun Path.copyTo(outputStream: OutputStream): Long(source)

Delegates to Files.copy with overload for OutputStream.


inline fun Path.copyTo(target: Path, vararg copyOptions: CopyOption): Path(source)

Delegates to Files.copy.

+
inline fun Path.copyTo(outputStream: OutputStream): Long(source)

Delegates to Files.copy with overload for OutputStream.


inline fun Path.copyTo(target: Path, vararg copyOptions: CopyOption): Path(source)

Delegates to Files.copy.

diff --git a/docs/kdoc/niok/ch.tutteli.niok/create-directories.html b/docs/kdoc/niok/ch.tutteli.niok/create-directories.html index a560461c..b5eaab70 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/create-directories.html +++ b/docs/kdoc/niok/ch.tutteli.niok/create-directories.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

createDirectories

-
inline fun Path.createDirectories(vararg fileAttributes: FileAttribute<*>): Path(source)

Delegates to Files.createDirectories.

+
inline fun Path.createDirectories(vararg fileAttributes: FileAttribute<*>): Path(source)

Delegates to Files.createDirectories.

diff --git a/docs/kdoc/niok/ch.tutteli.niok/create-directory-if-not-exists.html b/docs/kdoc/niok/ch.tutteli.niok/create-directory-if-not-exists.html index c70036f3..593098f4 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/create-directory-if-not-exists.html +++ b/docs/kdoc/niok/ch.tutteli.niok/create-directory-if-not-exists.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

createDirectoryIfNotExists

-
inline fun Path.createDirectoryIfNotExists(vararg fileAttributes: FileAttribute<*>): Path(source)

Delegates to createDirectory and swallows a potential java.nio.file.FileAlreadyExistsException.

+
inline fun Path.createDirectoryIfNotExists(vararg fileAttributes: FileAttribute<*>): Path(source)

Delegates to createDirectory and swallows a potential java.nio.file.FileAlreadyExistsException.

diff --git a/docs/kdoc/niok/ch.tutteli.niok/create-directory.html b/docs/kdoc/niok/ch.tutteli.niok/create-directory.html index 3cdf856f..cd3ab7d7 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/create-directory.html +++ b/docs/kdoc/niok/ch.tutteli.niok/create-directory.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

createDirectory

-
inline fun Path.createDirectory(vararg fileAttributes: FileAttribute<*>): Path(source)

Delegates to Files.createDirectory.

+
inline fun Path.createDirectory(vararg fileAttributes: FileAttribute<*>): Path(source)

Delegates to Files.createDirectory.

diff --git a/docs/kdoc/niok/ch.tutteli.niok/create-file-if-not-exists.html b/docs/kdoc/niok/ch.tutteli.niok/create-file-if-not-exists.html index 1eda299f..f7cc6521 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/create-file-if-not-exists.html +++ b/docs/kdoc/niok/ch.tutteli.niok/create-file-if-not-exists.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

createFileIfNotExists

-
inline fun Path.createFileIfNotExists(vararg fileAttributes: FileAttribute<*>): Path(source)

Delegates to createFile and swallows a potential java.nio.file.FileAlreadyExistsException.

+
inline fun Path.createFileIfNotExists(vararg fileAttributes: FileAttribute<*>): Path(source)

Delegates to createFile and swallows a potential java.nio.file.FileAlreadyExistsException.

diff --git a/docs/kdoc/niok/ch.tutteli.niok/create-file.html b/docs/kdoc/niok/ch.tutteli.niok/create-file.html index eb184e05..e3a17374 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/create-file.html +++ b/docs/kdoc/niok/ch.tutteli.niok/create-file.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

createFile

-
inline fun Path.createFile(vararg fileAttributes: FileAttribute<*>): Path(source)

Delegates to Files.createFile.

+
inline fun Path.createFile(vararg fileAttributes: FileAttribute<*>): Path(source)

Delegates to Files.createFile.

diff --git a/docs/kdoc/niok/ch.tutteli.niok/create-link.html b/docs/kdoc/niok/ch.tutteli.niok/create-link.html index 844add59..b3e126eb 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/create-link.html +++ b/docs/kdoc/niok/ch.tutteli.niok/create-link.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

createLink

-
inline fun Path.createLink(link: Path): Path(source)

Creates a new link (directory entry) for this Path. Delegates to Files.createLink.

+
inline fun Path.createLink(link: Path): Path(source)

Creates a new link (directory entry) for this Path. Delegates to Files.createLink.

diff --git a/docs/kdoc/niok/ch.tutteli.niok/create-symbolic-link.html b/docs/kdoc/niok/ch.tutteli.niok/create-symbolic-link.html index 58ddadd3..f2dd1c49 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/create-symbolic-link.html +++ b/docs/kdoc/niok/ch.tutteli.niok/create-symbolic-link.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

createSymbolicLink

-
inline fun Path.createSymbolicLink(link: Path, vararg fileAttributes: FileAttribute<*>): Path(source)

Creates a symbolic link for this Path. Delegates to Files.createDirectory.

+
inline fun Path.createSymbolicLink(link: Path, vararg fileAttributes: FileAttribute<*>): Path(source)

Creates a symbolic link for this Path. Delegates to Files.createDirectory.

diff --git a/docs/kdoc/niok/ch.tutteli.niok/delete-if-exists.html b/docs/kdoc/niok/ch.tutteli.niok/delete-if-exists.html index 1eb7c605..b3500928 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/delete-if-exists.html +++ b/docs/kdoc/niok/ch.tutteli.niok/delete-if-exists.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

deleteIfExists

- +
diff --git a/docs/kdoc/niok/ch.tutteli.niok/delete-recursively.html b/docs/kdoc/niok/ch.tutteli.niok/delete-recursively.html index 381df04e..fac2deba 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/delete-recursively.html +++ b/docs/kdoc/niok/ch.tutteli.niok/delete-recursively.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

deleteRecursively

- +
diff --git a/docs/kdoc/niok/ch.tutteli.niok/delete.html b/docs/kdoc/niok/ch.tutteli.niok/delete.html index 529c600a..c0ae4bb8 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/delete.html +++ b/docs/kdoc/niok/ch.tutteli.niok/delete.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

delete

-
inline fun Path.delete()(source)

Delegates to Files.delete.

+
inline fun Path.delete()(source)

Delegates to Files.delete.

diff --git a/docs/kdoc/niok/ch.tutteli.niok/exists.html b/docs/kdoc/niok/ch.tutteli.niok/exists.html index 2b402667..8161b4b9 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/exists.html +++ b/docs/kdoc/niok/ch.tutteli.niok/exists.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

exists

- +
diff --git a/docs/kdoc/niok/ch.tutteli.niok/extension.html b/docs/kdoc/niok/ch.tutteli.niok/extension.html index 7634e6e8..810d3c7e 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/extension.html +++ b/docs/kdoc/niok/ch.tutteli.niok/extension.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

extension

- +
diff --git a/docs/kdoc/niok/ch.tutteli.niok/file-name-as-string.html b/docs/kdoc/niok/ch.tutteli.niok/file-name-as-string.html index 3d43a0e6..269e7b96 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/file-name-as-string.html +++ b/docs/kdoc/niok/ch.tutteli.niok/file-name-as-string.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

fileNameAsString

- +
diff --git a/docs/kdoc/niok/ch.tutteli.niok/file-name-without-extension.html b/docs/kdoc/niok/ch.tutteli.niok/file-name-without-extension.html index 74a7d943..7af28513 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/file-name-without-extension.html +++ b/docs/kdoc/niok/ch.tutteli.niok/file-name-without-extension.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

fileNameWithoutExtension

- +
diff --git a/docs/kdoc/niok/ch.tutteli.niok/file-store.html b/docs/kdoc/niok/ch.tutteli.niok/file-store.html index f92ddfaa..e06b69c1 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/file-store.html +++ b/docs/kdoc/niok/ch.tutteli.niok/file-store.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

fileStore

- +
diff --git a/docs/kdoc/niok/ch.tutteli.niok/follow-symbolic-link.html b/docs/kdoc/niok/ch.tutteli.niok/follow-symbolic-link.html index 594ac16d..855fb233 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/follow-symbolic-link.html +++ b/docs/kdoc/niok/ch.tutteli.niok/follow-symbolic-link.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

followSymbolicLink

-

Assumes that this path Path.isSymbolicLink and delegates to Files.readSymbolicLink.

+

Assumes that this path Path.isSymbolicLink and delegates to Files.readSymbolicLink.

diff --git a/docs/kdoc/niok/ch.tutteli.niok/for-each-block.html b/docs/kdoc/niok/ch.tutteli.niok/for-each-block.html index 26646bd2..591ac8e2 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/for-each-block.html +++ b/docs/kdoc/niok/ch.tutteli.niok/for-each-block.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

forEachBlock

-
fun Path.forEachBlock(action: (buffer: ByteArray, bytesRead: Int) -> Unit)(source)
fun Path.forEachBlock(blockSize: Int, action: (buffer: ByteArray, bytesRead: Int) -> Unit)(source)

Delegates to kotlin.io.forEachBlock.

+
fun Path.forEachBlock(action: (buffer: ByteArray, bytesRead: Int) -> Unit)(source)
fun Path.forEachBlock(blockSize: Int, action: (buffer: ByteArray, bytesRead: Int) -> Unit)(source)

Delegates to kotlin.io.forEachBlock.

diff --git a/docs/kdoc/niok/ch.tutteli.niok/for-each-line.html b/docs/kdoc/niok/ch.tutteli.niok/for-each-line.html index eb41912f..75d2d64b 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/for-each-line.html +++ b/docs/kdoc/niok/ch.tutteli.niok/for-each-line.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

forEachLine

-
fun Path.forEachLine(charset: Charset = Charsets.UTF_8, action: (line: String) -> Unit)(source)

Delegates to kotlin.io.forEachLine.

+
fun Path.forEachLine(charset: Charset = Charsets.UTF_8, action: (line: String) -> Unit)(source)

Delegates to kotlin.io.forEachLine.

diff --git a/docs/kdoc/niok/ch.tutteli.niok/get-attribute.html b/docs/kdoc/niok/ch.tutteli.niok/get-attribute.html index cab7859b..1c94eec5 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/get-attribute.html +++ b/docs/kdoc/niok/ch.tutteli.niok/get-attribute.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

getAttribute

-
inline fun Path.getAttribute(attribute: String, vararg linkOptions: LinkOption): Any(source)

Delegates to Files.getAttribute.

+
inline fun Path.getAttribute(attribute: String, vararg linkOptions: LinkOption): Any(source)

Delegates to Files.getAttribute.

diff --git a/docs/kdoc/niok/ch.tutteli.niok/get-file-attribute-view.html b/docs/kdoc/niok/ch.tutteli.niok/get-file-attribute-view.html index 01a251e3..8f09ce3b 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/get-file-attribute-view.html +++ b/docs/kdoc/niok/ch.tutteli.niok/get-file-attribute-view.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

getFileAttributeView

-
inline fun <V : FileAttributeView> Path.getFileAttributeView(vararg linkOptions: LinkOption): V?(source)

Delegates to Files.getFileAttributeView.

+
inline fun <V : FileAttributeView> Path.getFileAttributeView(vararg linkOptions: LinkOption): V?(source)

Delegates to Files.getFileAttributeView.

diff --git a/docs/kdoc/niok/ch.tutteli.niok/index.html b/docs/kdoc/niok/ch.tutteli.niok/index.html index d23ca6ed..adfab580 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/index.html +++ b/docs/kdoc/niok/ch.tutteli.niok/index.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -72,7 +72,7 @@

Package-level declaratio

Properties

-
+ -
+
@@ -96,13 +96,13 @@

Properties

-

Delegates to Files.exists.

+

Delegates to Files.exists.

-
+
@@ -111,13 +111,13 @@

Properties

-
+ -
+ -
+
@@ -156,13 +156,13 @@

Properties

-
+ -
+
@@ -186,13 +186,13 @@

Properties

- +
-
+
@@ -201,13 +201,13 @@

Properties

-
+
@@ -216,13 +216,13 @@

Properties

- +
-
+
@@ -231,13 +231,13 @@

Properties

-
+
@@ -246,13 +246,13 @@

Properties

-
+
@@ -261,13 +261,13 @@

Properties

-
+
@@ -276,13 +276,13 @@

Properties

-
+
@@ -291,13 +291,13 @@

Properties

-
+
@@ -306,13 +306,13 @@

Properties

-
+ -
+
@@ -336,13 +336,13 @@

Properties

-

Delegates to Files.notExists without LinkOptions.

+

Delegates to Files.notExists without LinkOptions.

-
+
@@ -351,13 +351,13 @@

Properties

-
+ -
+
@@ -381,7 +381,7 @@

Properties

-

Delegates to Files.size.

+

Delegates to Files.size.

@@ -391,7 +391,7 @@

Properties

Functions

-
+
@@ -400,13 +400,13 @@

Functions

- +
-
+
@@ -415,13 +415,13 @@

Functions

-
fun Path.appendText(text: String, charset: Charset = Charsets.UTF_8)

Delegates to kotlin.io.appendText.

+
fun Path.appendText(text: String, charset: Charset = Charsets.UTF_8)

Delegates to kotlin.io.appendText.

-
+
@@ -430,13 +430,13 @@

Functions

-
fun Path.copyRecursively(target: Path, overwrite: Boolean = false, onError: (Path, IOException) -> OnErrorAction = { _, exception -> throw exception }): Boolean
+
fun Path.copyRecursively(target: Path, overwrite: Boolean = false, onError: (Path, IOException) -> OnErrorAction = { _, exception -> throw exception }): Boolean
-
+
@@ -451,7 +451,7 @@

Functions

-
+
@@ -466,7 +466,7 @@

Functions

-
+
@@ -481,7 +481,7 @@

Functions

-
+
@@ -496,7 +496,7 @@

Functions

-
+
@@ -511,7 +511,7 @@

Functions

-
+
@@ -526,7 +526,7 @@

Functions

-
+
@@ -541,7 +541,7 @@

Functions

-
+
@@ -556,7 +556,7 @@

Functions

-
+
@@ -571,7 +571,7 @@

Functions

-
+
@@ -586,7 +586,7 @@

Functions

-
+
@@ -595,13 +595,13 @@

Functions

-
+
@@ -616,7 +616,7 @@

Functions

-
+
@@ -625,13 +625,13 @@

Functions

-
fun Path.forEachBlock(action: (buffer: ByteArray, bytesRead: Int) -> Unit)
fun Path.forEachBlock(blockSize: Int, action: (buffer: ByteArray, bytesRead: Int) -> Unit)
+
fun Path.forEachBlock(action: (buffer: ByteArray, bytesRead: Int) -> Unit)
fun Path.forEachBlock(blockSize: Int, action: (buffer: ByteArray, bytesRead: Int) -> Unit)
-
+
@@ -640,13 +640,13 @@

Functions

-
fun Path.forEachLine(charset: Charset = Charsets.UTF_8, action: (line: String) -> Unit)

Delegates to kotlin.io.forEachLine.

+
fun Path.forEachLine(charset: Charset = Charsets.UTF_8, action: (line: String) -> Unit)

Delegates to kotlin.io.forEachLine.

-
+
@@ -661,7 +661,7 @@

Functions

-
+
@@ -670,13 +670,13 @@

Functions

-
inline fun <V : FileAttributeView> Path.getFileAttributeView(vararg linkOptions: LinkOption): V?
+
inline fun <V : FileAttributeView> Path.getFileAttributeView(vararg linkOptions: LinkOption): V?
-
+
@@ -691,7 +691,7 @@

Functions

-
+
@@ -706,7 +706,7 @@

Functions

-
+
@@ -721,7 +721,7 @@

Functions

-
+
@@ -736,7 +736,7 @@

Functions

-
+
@@ -751,7 +751,7 @@

Functions

-
+
@@ -766,7 +766,7 @@

Functions

-
+
@@ -781,7 +781,7 @@

Functions

-
+
@@ -790,13 +790,13 @@

Functions

-
inline fun Path.newByteChannel(vararg openOptions: OpenOption): SeekableByteChannel
inline fun Path.newByteChannel(openOptions: Set<OpenOption>, vararg fileAttributes: FileAttribute<*>): SeekableByteChannel

Delegates to Files.newByteChannel.

+
inline fun Path.newByteChannel(vararg openOptions: OpenOption): SeekableByteChannel
inline fun Path.newByteChannel(openOptions: Set<OpenOption>, vararg fileAttributes: FileAttribute<*>): SeekableByteChannel

Delegates to Files.newByteChannel.

-
+
@@ -805,13 +805,13 @@

Functions

-
fun Path.newDirectory(dir: String, vararg fileAttributes: FileAttribute<*>): Path

Resolve the given dir and calls createDirectory.

+
fun Path.newDirectory(dir: String, vararg fileAttributes: FileAttribute<*>): Path

Resolve the given dir and calls createDirectory.

-
+ -
+
@@ -835,13 +835,13 @@

Functions

-
fun Path.newFile(file: String, vararg fileAttributes: FileAttribute<*>): Path

Resolve the given file and calls createFile.

+
fun Path.newFile(file: String, vararg fileAttributes: FileAttribute<*>): Path

Resolve the given file and calls createFile.

-
+
@@ -856,7 +856,7 @@

Functions

-
+
@@ -871,7 +871,7 @@

Functions

-
+
@@ -886,7 +886,7 @@

Functions

-
+
@@ -901,7 +901,7 @@

Functions

-
+
@@ -910,13 +910,13 @@

Functions

-
inline fun Path.posixFilePersmissions(linkOption: LinkOption, vararg furtherLinkOptions: LinkOption): MutableSet<PosixFilePermission>
+
inline fun Path.posixFilePersmissions(linkOption: LinkOption, vararg furtherLinkOptions: LinkOption): MutableSet<PosixFilePermission>
-
+
@@ -931,7 +931,7 @@

Functions

-
+
@@ -946,7 +946,7 @@

Functions

-
+
@@ -961,7 +961,7 @@

Functions

-
+
@@ -970,13 +970,13 @@

Functions

-
inline fun Path.readAllLines(charset: Charset = Charsets.UTF_8): List<String>

Delegates to Files.readAllLines.

+
inline fun Path.readAllLines(charset: Charset = Charsets.UTF_8): List<String>

Delegates to Files.readAllLines.

-
+
@@ -985,13 +985,13 @@

Functions

-
inline fun <A : BasicFileAttributes> Path.readAttributes(vararg linkOptions: LinkOption): A
inline fun Path.readAttributes(attributes: String, vararg linkOptions: LinkOption): Map<String, Any>

Delegates to Files.readAttributes.

+
inline fun <A : BasicFileAttributes> Path.readAttributes(vararg linkOptions: LinkOption): A
inline fun Path.readAttributes(attributes: String, vararg linkOptions: LinkOption): Map<String, Any>

Delegates to Files.readAttributes.

-
+
@@ -1006,7 +1006,7 @@

Functions

-
+
@@ -1021,7 +1021,7 @@

Functions

-
+
@@ -1036,7 +1036,7 @@

Functions

-
+
@@ -1045,13 +1045,13 @@

Functions

-

Deletes the directory recursively and creates a new empty one at the same place.

+

Deletes the directory recursively and creates a new empty one at the same place.

-
+
@@ -1060,13 +1060,13 @@

Functions

- +
-
+
@@ -1075,13 +1075,13 @@

Functions

-
+
@@ -1090,13 +1090,13 @@

Functions

-
+
@@ -1111,7 +1111,7 @@

Functions

-
+
@@ -1126,7 +1126,7 @@

Functions

-
+
@@ -1141,7 +1141,7 @@

Functions

-
+ -
+
@@ -1165,13 +1165,13 @@

Functions

-
+
@@ -1180,13 +1180,13 @@

Functions

-
inline fun <T> Path.useLines(charset: Charset = Charsets.UTF_8, block: (Sequence<String>) -> T): T

Delegates to kotlin.io.useLines.

+
inline fun <T> Path.useLines(charset: Charset = Charsets.UTF_8, block: (Sequence<String>) -> T): T

Delegates to kotlin.io.useLines.

-
+
@@ -1201,7 +1201,7 @@

Functions

-
+
@@ -1210,13 +1210,13 @@

Functions

-
inline fun Path.writeLines(lines: Iterable<CharSequence>, charset: Charset = Charsets.UTF_8, vararg openOptions: OpenOption): Path

Delegates to Files.write.

+
inline fun Path.writeLines(lines: Iterable<CharSequence>, charset: Charset = Charsets.UTF_8, vararg openOptions: OpenOption): Path

Delegates to Files.write.

-
+
@@ -1231,7 +1231,7 @@

Functions

-
+
@@ -1240,7 +1240,7 @@

Functions

-
fun Path.writeText(text: String, charset: Charset = Charsets.UTF_8)

Delegates to kotlin.io.writeText.

+
fun Path.writeText(text: String, charset: Charset = Charsets.UTF_8)

Delegates to kotlin.io.writeText.

@@ -1251,7 +1251,7 @@

Functions

diff --git a/docs/kdoc/niok/ch.tutteli.niok/invariant-separators-path.html b/docs/kdoc/niok/ch.tutteli.niok/invariant-separators-path.html index 9d278a1a..52830faa 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/invariant-separators-path.html +++ b/docs/kdoc/niok/ch.tutteli.niok/invariant-separators-path.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

invariantSeparatorsPath

- +
diff --git a/docs/kdoc/niok/ch.tutteli.niok/is-directory.html b/docs/kdoc/niok/ch.tutteli.niok/is-directory.html index 6d978a5d..6ce3bac4 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/is-directory.html +++ b/docs/kdoc/niok/ch.tutteli.niok/is-directory.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

isDirectory

-
inline fun Path.isDirectory(linkOption: LinkOption, vararg furtherLinkOptions: LinkOption): Boolean(source)

Delegates to Files.isDirectory.


Delegates to Files.isDirectory without LinkOptions.

+
inline fun Path.isDirectory(linkOption: LinkOption, vararg furtherLinkOptions: LinkOption): Boolean(source)

Delegates to Files.isDirectory.


Delegates to Files.isDirectory without LinkOptions.

diff --git a/docs/kdoc/niok/ch.tutteli.niok/is-executable.html b/docs/kdoc/niok/ch.tutteli.niok/is-executable.html index 32ed0dea..10992e2e 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/is-executable.html +++ b/docs/kdoc/niok/ch.tutteli.niok/is-executable.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

isExecutable

- +
diff --git a/docs/kdoc/niok/ch.tutteli.niok/is-hidden.html b/docs/kdoc/niok/ch.tutteli.niok/is-hidden.html index 58a81108..6d8cba12 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/is-hidden.html +++ b/docs/kdoc/niok/ch.tutteli.niok/is-hidden.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

isHidden

- +
diff --git a/docs/kdoc/niok/ch.tutteli.niok/is-readable.html b/docs/kdoc/niok/ch.tutteli.niok/is-readable.html index a9e450be..8153e30b 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/is-readable.html +++ b/docs/kdoc/niok/ch.tutteli.niok/is-readable.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

isReadable

- +
diff --git a/docs/kdoc/niok/ch.tutteli.niok/is-regular-file.html b/docs/kdoc/niok/ch.tutteli.niok/is-regular-file.html index 7f1f721b..d0ae67ca 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/is-regular-file.html +++ b/docs/kdoc/niok/ch.tutteli.niok/is-regular-file.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

isRegularFile

-
inline fun Path.isRegularFile(linkOption: LinkOption, vararg furtherLinkOptions: LinkOption): Boolean(source)

Delegates to Files.isRegularFile.


Delegates to Files.isRegularFile without LinkOptions.

+
inline fun Path.isRegularFile(linkOption: LinkOption, vararg furtherLinkOptions: LinkOption): Boolean(source)

Delegates to Files.isRegularFile.


Delegates to Files.isRegularFile without LinkOptions.

diff --git a/docs/kdoc/niok/ch.tutteli.niok/is-rooted.html b/docs/kdoc/niok/ch.tutteli.niok/is-rooted.html index 98ab09cb..005a6cf9 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/is-rooted.html +++ b/docs/kdoc/niok/ch.tutteli.niok/is-rooted.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

isRooted

- +
diff --git a/docs/kdoc/niok/ch.tutteli.niok/is-same-file.html b/docs/kdoc/niok/ch.tutteli.niok/is-same-file.html index f4d732a8..733b3d6a 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/is-same-file.html +++ b/docs/kdoc/niok/ch.tutteli.niok/is-same-file.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

isSameFile

-
inline fun Path.isSameFile(other: Path): Boolean(source)

Delegates to Files.isSameFile.

+
inline fun Path.isSameFile(other: Path): Boolean(source)

Delegates to Files.isSameFile.

diff --git a/docs/kdoc/niok/ch.tutteli.niok/is-symbolic-link.html b/docs/kdoc/niok/ch.tutteli.niok/is-symbolic-link.html index 1aa27733..aac21e5d 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/is-symbolic-link.html +++ b/docs/kdoc/niok/ch.tutteli.niok/is-symbolic-link.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

isSymbolicLink

- +
diff --git a/docs/kdoc/niok/ch.tutteli.niok/is-writable.html b/docs/kdoc/niok/ch.tutteli.niok/is-writable.html index e9ae48f3..5e2555ef 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/is-writable.html +++ b/docs/kdoc/niok/ch.tutteli.niok/is-writable.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

isWritable

- +
diff --git a/docs/kdoc/niok/ch.tutteli.niok/last-modified-time.html b/docs/kdoc/niok/ch.tutteli.niok/last-modified-time.html index af8fe56e..305de8a5 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/last-modified-time.html +++ b/docs/kdoc/niok/ch.tutteli.niok/last-modified-time.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

lastModifiedTime

-
inline fun Path.lastModifiedTime(linkOption: LinkOption, vararg furtherLinkOptions: LinkOption): FileTime(source)

Delegates to Files.getLastModifiedTime.


Delegates to Files.getLastModifiedTime without LinkOptions.

+
inline fun Path.lastModifiedTime(linkOption: LinkOption, vararg furtherLinkOptions: LinkOption): FileTime(source)

Delegates to Files.getLastModifiedTime.


Delegates to Files.getLastModifiedTime without LinkOptions.

diff --git a/docs/kdoc/niok/ch.tutteli.niok/move.html b/docs/kdoc/niok/ch.tutteli.niok/move.html index 988f6aaf..9e1fef69 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/move.html +++ b/docs/kdoc/niok/ch.tutteli.niok/move.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

move

-
inline fun Path.move(target: Path, vararg copyOptions: CopyOption): Path(source)

Delegates to Files.move.

+
inline fun Path.move(target: Path, vararg copyOptions: CopyOption): Path(source)

Delegates to Files.move.

diff --git a/docs/kdoc/niok/ch.tutteli.niok/name-without-extension.html b/docs/kdoc/niok/ch.tutteli.niok/name-without-extension.html index 791fca85..631fe577 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/name-without-extension.html +++ b/docs/kdoc/niok/ch.tutteli.niok/name-without-extension.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

nameWithoutExtension

-

Deprecated

use fileNameWithoutExtension instead; will be removed with 2.0.0

Replace with

this.fileNameWithoutExtension

Delegates to kotlin.io.nameWithoutExtension.

+

Deprecated

use fileNameWithoutExtension instead; will be removed with 2.0.0

Replace with

this.fileNameWithoutExtension

Delegates to kotlin.io.nameWithoutExtension.

diff --git a/docs/kdoc/niok/ch.tutteli.niok/new-buffered-reader.html b/docs/kdoc/niok/ch.tutteli.niok/new-buffered-reader.html index 5fc00d0d..79b0863e 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/new-buffered-reader.html +++ b/docs/kdoc/niok/ch.tutteli.niok/new-buffered-reader.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

newBufferedReader

-
inline fun Path.newBufferedReader(charset: Charset = Charsets.UTF_8): BufferedReader(source)

Delegates to Files.newBufferedReader.

+
inline fun Path.newBufferedReader(charset: Charset = Charsets.UTF_8): BufferedReader(source)

Delegates to Files.newBufferedReader.

diff --git a/docs/kdoc/niok/ch.tutteli.niok/new-buffered-writer.html b/docs/kdoc/niok/ch.tutteli.niok/new-buffered-writer.html index 76a052d1..c51473e5 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/new-buffered-writer.html +++ b/docs/kdoc/niok/ch.tutteli.niok/new-buffered-writer.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

newBufferedWriter

-
inline fun Path.newBufferedWriter(charset: Charset = Charsets.UTF_8, vararg openOptions: OpenOption): BufferedWriter(source)

Delegates to Files.newBufferedWriter.

+
inline fun Path.newBufferedWriter(charset: Charset = Charsets.UTF_8, vararg openOptions: OpenOption): BufferedWriter(source)

Delegates to Files.newBufferedWriter.

diff --git a/docs/kdoc/niok/ch.tutteli.niok/new-byte-channel.html b/docs/kdoc/niok/ch.tutteli.niok/new-byte-channel.html index 90efe446..ddf137f3 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/new-byte-channel.html +++ b/docs/kdoc/niok/ch.tutteli.niok/new-byte-channel.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

newByteChannel

-
inline fun Path.newByteChannel(vararg openOptions: OpenOption): SeekableByteChannel(source)
inline fun Path.newByteChannel(openOptions: Set<OpenOption>, vararg fileAttributes: FileAttribute<*>): SeekableByteChannel(source)

Delegates to Files.newByteChannel.

+
inline fun Path.newByteChannel(vararg openOptions: OpenOption): SeekableByteChannel(source)
inline fun Path.newByteChannel(openOptions: Set<OpenOption>, vararg fileAttributes: FileAttribute<*>): SeekableByteChannel(source)

Delegates to Files.newByteChannel.

diff --git a/docs/kdoc/niok/ch.tutteli.niok/new-directory-stream.html b/docs/kdoc/niok/ch.tutteli.niok/new-directory-stream.html index 570dfefd..a26574ad 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/new-directory-stream.html +++ b/docs/kdoc/niok/ch.tutteli.niok/new-directory-stream.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
diff --git a/docs/kdoc/niok/ch.tutteli.niok/new-directory.html b/docs/kdoc/niok/ch.tutteli.niok/new-directory.html index bf86c472..432a03e1 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/new-directory.html +++ b/docs/kdoc/niok/ch.tutteli.niok/new-directory.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

newDirectory

-
fun Path.newDirectory(dir: String, vararg fileAttributes: FileAttribute<*>): Path(source)

Resolve the given dir and calls createDirectory.

+
fun Path.newDirectory(dir: String, vararg fileAttributes: FileAttribute<*>): Path(source)

Resolve the given dir and calls createDirectory.

diff --git a/docs/kdoc/niok/ch.tutteli.niok/new-file.html b/docs/kdoc/niok/ch.tutteli.niok/new-file.html index 7e08b862..7aa4e0ba 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/new-file.html +++ b/docs/kdoc/niok/ch.tutteli.niok/new-file.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

newFile

-
fun Path.newFile(file: String, vararg fileAttributes: FileAttribute<*>): Path(source)

Resolve the given file and calls createFile.

+
fun Path.newFile(file: String, vararg fileAttributes: FileAttribute<*>): Path(source)

Resolve the given file and calls createFile.

diff --git a/docs/kdoc/niok/ch.tutteli.niok/new-input-stream.html b/docs/kdoc/niok/ch.tutteli.niok/new-input-stream.html index f3f06881..990c5e96 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/new-input-stream.html +++ b/docs/kdoc/niok/ch.tutteli.niok/new-input-stream.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

newInputStream

-
inline fun Path.newInputStream(vararg openOptions: OpenOption): InputStream(source)

Delegates to Files.newInputStream.

+
inline fun Path.newInputStream(vararg openOptions: OpenOption): InputStream(source)

Delegates to Files.newInputStream.

diff --git a/docs/kdoc/niok/ch.tutteli.niok/new-output-stream.html b/docs/kdoc/niok/ch.tutteli.niok/new-output-stream.html index b9f2250e..f64988fb 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/new-output-stream.html +++ b/docs/kdoc/niok/ch.tutteli.niok/new-output-stream.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

newOutputStream

-
inline fun Path.newOutputStream(vararg openOptions: OpenOption): OutputStream(source)

Delegates to Files.newOutputStream.

+
inline fun Path.newOutputStream(vararg openOptions: OpenOption): OutputStream(source)

Delegates to Files.newOutputStream.

diff --git a/docs/kdoc/niok/ch.tutteli.niok/not-exists.html b/docs/kdoc/niok/ch.tutteli.niok/not-exists.html index 885e8439..d5402d2b 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/not-exists.html +++ b/docs/kdoc/niok/ch.tutteli.niok/not-exists.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

notExists

-
inline fun Path.notExists(linkOption: LinkOption, vararg furtherLinkOptions: LinkOption): Boolean(source)

Delegates to Files.notExists.


Delegates to Files.notExists without LinkOptions.

+
inline fun Path.notExists(linkOption: LinkOption, vararg furtherLinkOptions: LinkOption): Boolean(source)

Delegates to Files.notExists.


Delegates to Files.notExists without LinkOptions.

diff --git a/docs/kdoc/niok/ch.tutteli.niok/owner.html b/docs/kdoc/niok/ch.tutteli.niok/owner.html index 165e66ea..87091038 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/owner.html +++ b/docs/kdoc/niok/ch.tutteli.niok/owner.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

owner

-
inline fun Path.owner(linkOption: LinkOption, vararg furtherLinkOptions: LinkOption): UserPrincipal(source)

Delegates to Files.getLastModifiedTime.


Delegates to Files.getLastModifiedTime without LinkOptions.

+
inline fun Path.owner(linkOption: LinkOption, vararg furtherLinkOptions: LinkOption): UserPrincipal(source)

Delegates to Files.getLastModifiedTime.


Delegates to Files.getLastModifiedTime without LinkOptions.

diff --git a/docs/kdoc/niok/ch.tutteli.niok/posix-file-persmissions.html b/docs/kdoc/niok/ch.tutteli.niok/posix-file-persmissions.html index 0f229fde..b4c53afc 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/posix-file-persmissions.html +++ b/docs/kdoc/niok/ch.tutteli.niok/posix-file-persmissions.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

posixFilePersmissions

- +
diff --git a/docs/kdoc/niok/ch.tutteli.niok/print-writer.html b/docs/kdoc/niok/ch.tutteli.niok/print-writer.html index 57550bb5..95b7cb2a 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/print-writer.html +++ b/docs/kdoc/niok/ch.tutteli.niok/print-writer.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

printWriter

-
inline fun Path.printWriter(charset: Charset = Charsets.UTF_8): PrintWriter(source)

Delegates to kotlin.io.printWriter.

+
inline fun Path.printWriter(charset: Charset = Charsets.UTF_8): PrintWriter(source)

Delegates to kotlin.io.printWriter.

diff --git a/docs/kdoc/niok/ch.tutteli.niok/probe-content-type.html b/docs/kdoc/niok/ch.tutteli.niok/probe-content-type.html index 60b8257d..ec89551b 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/probe-content-type.html +++ b/docs/kdoc/niok/ch.tutteli.niok/probe-content-type.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

probeContentType

- +
diff --git a/docs/kdoc/niok/ch.tutteli.niok/re-create-directory.html b/docs/kdoc/niok/ch.tutteli.niok/re-create-directory.html index 54ff3493..7f0c7708 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/re-create-directory.html +++ b/docs/kdoc/niok/ch.tutteli.niok/re-create-directory.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

reCreateDirectory

-

Deletes the directory recursively and creates a new empty one at the same place.

The directory is also created in case this Path does not exist. However, it will fail if parent directories don't exist either. This function does not follow symlinks, if the path points to a directory via symlink then this function throws.

Throws

In case this Path exists but is not a directory - also throws if it is a symbolic link pointing to a directory.

In case the parent directory does not exist.

+

Deletes the directory recursively and creates a new empty one at the same place.

The directory is also created in case this Path does not exist. However, it will fail if parent directories don't exist either. This function does not follow symlinks, if the path points to a directory via symlink then this function throws.

Throws

In case this Path exists but is not a directory - also throws if it is a symbolic link pointing to a directory.

In case the parent directory does not exist.

diff --git a/docs/kdoc/niok/ch.tutteli.niok/read-all-bytes.html b/docs/kdoc/niok/ch.tutteli.niok/read-all-bytes.html index eac02500..419d25ce 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/read-all-bytes.html +++ b/docs/kdoc/niok/ch.tutteli.niok/read-all-bytes.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

readAllBytes

- +
diff --git a/docs/kdoc/niok/ch.tutteli.niok/read-all-lines.html b/docs/kdoc/niok/ch.tutteli.niok/read-all-lines.html index 64d8bda8..fc574918 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/read-all-lines.html +++ b/docs/kdoc/niok/ch.tutteli.niok/read-all-lines.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

readAllLines

-
inline fun Path.readAllLines(charset: Charset = Charsets.UTF_8): List<String>(source)

Delegates to Files.readAllLines.

+
inline fun Path.readAllLines(charset: Charset = Charsets.UTF_8): List<String>(source)

Delegates to Files.readAllLines.

diff --git a/docs/kdoc/niok/ch.tutteli.niok/read-attributes.html b/docs/kdoc/niok/ch.tutteli.niok/read-attributes.html index 3d8ab613..7a596fd1 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/read-attributes.html +++ b/docs/kdoc/niok/ch.tutteli.niok/read-attributes.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

readAttributes

-
inline fun <A : BasicFileAttributes> Path.readAttributes(vararg linkOptions: LinkOption): A(source)
inline fun Path.readAttributes(attributes: String, vararg linkOptions: LinkOption): Map<String, Any>(source)

Delegates to Files.readAttributes.

+
inline fun <A : BasicFileAttributes> Path.readAttributes(vararg linkOptions: LinkOption): A(source)
inline fun Path.readAttributes(attributes: String, vararg linkOptions: LinkOption): Map<String, Any>(source)

Delegates to Files.readAttributes.

diff --git a/docs/kdoc/niok/ch.tutteli.niok/read-symbolic-link.html b/docs/kdoc/niok/ch.tutteli.niok/read-symbolic-link.html index 8fd627e1..5cf5e7d5 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/read-symbolic-link.html +++ b/docs/kdoc/niok/ch.tutteli.niok/read-symbolic-link.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

readSymbolicLink

- +
diff --git a/docs/kdoc/niok/ch.tutteli.niok/read-text.html b/docs/kdoc/niok/ch.tutteli.niok/read-text.html index 70ef0847..fdd9cae5 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/read-text.html +++ b/docs/kdoc/niok/ch.tutteli.niok/read-text.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

readText

-
inline fun Path.readText(charset: Charset = Charsets.UTF_8): String(source)

Converts Path.readAllBytes to a string using the given charset.

+
inline fun Path.readText(charset: Charset = Charsets.UTF_8): String(source)

Converts Path.readAllBytes to a string using the given charset.

diff --git a/docs/kdoc/niok/ch.tutteli.niok/reader.html b/docs/kdoc/niok/ch.tutteli.niok/reader.html index 725ddaa1..c2199061 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/reader.html +++ b/docs/kdoc/niok/ch.tutteli.niok/reader.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

reader

-
inline fun Path.reader(charset: Charset = Charsets.UTF_8): InputStreamReader(source)

Delegates to kotlin.io.reader.

+
inline fun Path.reader(charset: Charset = Charsets.UTF_8): InputStreamReader(source)

Delegates to kotlin.io.reader.

diff --git a/docs/kdoc/niok/ch.tutteli.niok/relative-to-or-null.html b/docs/kdoc/niok/ch.tutteli.niok/relative-to-or-null.html index 89851221..84088a16 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/relative-to-or-null.html +++ b/docs/kdoc/niok/ch.tutteli.niok/relative-to-or-null.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

relativeToOrNull

- +
diff --git a/docs/kdoc/niok/ch.tutteli.niok/relative-to-or-self.html b/docs/kdoc/niok/ch.tutteli.niok/relative-to-or-self.html index 74bc6b72..a53acada 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/relative-to-or-self.html +++ b/docs/kdoc/niok/ch.tutteli.niok/relative-to-or-self.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

relativeToOrSelf

- +
diff --git a/docs/kdoc/niok/ch.tutteli.niok/relative-to.html b/docs/kdoc/niok/ch.tutteli.niok/relative-to.html index 47e87d83..65f1ff00 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/relative-to.html +++ b/docs/kdoc/niok/ch.tutteli.niok/relative-to.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

relativeTo

-

Delegates to kotlin.io.relativeToOrNull.

Notice, that this function is not equivalent to Path.relativize. This function calculates the relative path from this path to other where Path.relativize calculates the relative path from other to this path. However, other.relativeTo(this) is not necessarily the same as this.relativize(other). There are small subtleties when it comes to ../ and ./ in one of the paths and depending on the JVM in use. Following an example using Oracle's JDK8

val a = Paths.get("a")
val b = Paths.get("./b")
a.relativeTo(b) // ../a
b.relativize(a) // .././a

Notice further, that Path.relativize seems to contain a bug (in Oracle's JDK8, seems to be fixed in JDK 9) when this path contains ./. Following an example

Paths.get("./a").relativize(Paths.get("b")) // results in ../../b instead of ../b (or .././b)

See https://bugs.java.com/bugdatabase/view_bug.do?bug_id=9057443 for further information. Hence, in case you want to use the result in Path.resolve later on, then you should prefer Path.relativeTo over Path.relativize.

+

Delegates to kotlin.io.relativeToOrNull.

Notice, that this function is not equivalent to Path.relativize. This function calculates the relative path from this path to other where Path.relativize calculates the relative path from other to this path. However, other.relativeTo(this) is not necessarily the same as this.relativize(other). There are small subtleties when it comes to ../ and ./ in one of the paths and depending on the JVM in use. Following an example using Oracle's JDK8

val a = Paths.get("a")
val b = Paths.get("./b")
a.relativeTo(b) // ../a
b.relativize(a) // .././a

Notice further, that Path.relativize seems to contain a bug (in Oracle's JDK8, seems to be fixed in JDK 9) when this path contains ./. Following an example

Paths.get("./a").relativize(Paths.get("b")) // results in ../../b instead of ../b (or .././b)

See https://bugs.java.com/bugdatabase/view_bug.do?bug_id=9057443 for further information. Hence, in case you want to use the result in Path.resolve later on, then you should prefer Path.relativeTo over Path.relativize.

diff --git a/docs/kdoc/niok/ch.tutteli.niok/resolve.html b/docs/kdoc/niok/ch.tutteli.niok/resolve.html index 68511274..d274411f 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/resolve.html +++ b/docs/kdoc/niok/ch.tutteli.niok/resolve.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

resolve

-
inline fun Path.resolve(dir: String, first: String, vararg more: String): Path(source)

Converts the given dir, first and more into a Path and Path.resolves it.

In other words it is a shortcut for using Paths.get in combination with Path.resolve.

Return

The new resolved Path.

+
inline fun Path.resolve(dir: String, first: String, vararg more: String): Path(source)

Converts the given dir, first and more into a Path and Path.resolves it.

In other words it is a shortcut for using Paths.get in combination with Path.resolve.

Return

The new resolved Path.

diff --git a/docs/kdoc/niok/ch.tutteli.niok/set-attribute.html b/docs/kdoc/niok/ch.tutteli.niok/set-attribute.html index efbedeb1..57ff8e39 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/set-attribute.html +++ b/docs/kdoc/niok/ch.tutteli.niok/set-attribute.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

setAttribute

-
inline fun Path.setAttribute(attribute: String, value: Any, vararg linkOptions: LinkOption): Path(source)

Delegates to Files.setAttribute.

+
inline fun Path.setAttribute(attribute: String, value: Any, vararg linkOptions: LinkOption): Path(source)

Delegates to Files.setAttribute.

diff --git a/docs/kdoc/niok/ch.tutteli.niok/set-last-modified-time.html b/docs/kdoc/niok/ch.tutteli.niok/set-last-modified-time.html index 356a5de5..ab6dcfb7 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/set-last-modified-time.html +++ b/docs/kdoc/niok/ch.tutteli.niok/set-last-modified-time.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0

@@ -66,10 +66,10 @@

setLastModifiedTime

- +
diff --git a/docs/kdoc/niok/ch.tutteli.niok/set-posix-file-permissions.html b/docs/kdoc/niok/ch.tutteli.niok/set-posix-file-permissions.html index 14666d2d..c8e77244 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/set-posix-file-permissions.html +++ b/docs/kdoc/niok/ch.tutteli.niok/set-posix-file-permissions.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

setPosixFilePermissions

- +
diff --git a/docs/kdoc/niok/ch.tutteli.niok/size.html b/docs/kdoc/niok/ch.tutteli.niok/size.html index 475f45e2..59b8e124 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/size.html +++ b/docs/kdoc/niok/ch.tutteli.niok/size.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

size

-

Delegates to Files.size.

+

Delegates to Files.size.

diff --git a/docs/kdoc/niok/ch.tutteli.niok/to-relative-string.html b/docs/kdoc/niok/ch.tutteli.niok/to-relative-string.html index f63f23ca..10b77887 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/to-relative-string.html +++ b/docs/kdoc/niok/ch.tutteli.niok/to-relative-string.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

toRelativeString

- +
diff --git a/docs/kdoc/niok/ch.tutteli.niok/use-lines.html b/docs/kdoc/niok/ch.tutteli.niok/use-lines.html index f03b85b8..56b128a5 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/use-lines.html +++ b/docs/kdoc/niok/ch.tutteli.niok/use-lines.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

useLines

-
inline fun <T> Path.useLines(charset: Charset = Charsets.UTF_8, block: (Sequence<String>) -> T): T(source)

Delegates to kotlin.io.useLines.

+
inline fun <T> Path.useLines(charset: Charset = Charsets.UTF_8, block: (Sequence<String>) -> T): T(source)

Delegates to kotlin.io.useLines.

diff --git a/docs/kdoc/niok/ch.tutteli.niok/write-bytes.html b/docs/kdoc/niok/ch.tutteli.niok/write-bytes.html index d9aee448..3ea4f348 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/write-bytes.html +++ b/docs/kdoc/niok/ch.tutteli.niok/write-bytes.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

writeBytes

-
inline fun Path.writeBytes(array: ByteArray, vararg openOptions: OpenOption): Path(source)

Delegates to Files.write.

+
inline fun Path.writeBytes(array: ByteArray, vararg openOptions: OpenOption): Path(source)

Delegates to Files.write.

diff --git a/docs/kdoc/niok/ch.tutteli.niok/write-lines.html b/docs/kdoc/niok/ch.tutteli.niok/write-lines.html index 7d8c8d48..7937d5ca 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/write-lines.html +++ b/docs/kdoc/niok/ch.tutteli.niok/write-lines.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

writeLines

-
inline fun Path.writeLines(lines: Iterable<CharSequence>, charset: Charset = Charsets.UTF_8, vararg openOptions: OpenOption): Path(source)

Delegates to Files.write.

+
inline fun Path.writeLines(lines: Iterable<CharSequence>, charset: Charset = Charsets.UTF_8, vararg openOptions: OpenOption): Path(source)

Delegates to Files.write.

diff --git a/docs/kdoc/niok/ch.tutteli.niok/write-text.html b/docs/kdoc/niok/ch.tutteli.niok/write-text.html index 19abb2ed..731a3a06 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/write-text.html +++ b/docs/kdoc/niok/ch.tutteli.niok/write-text.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

writeText

-
fun Path.writeText(text: String, charset: Charset = Charsets.UTF_8)(source)

Delegates to kotlin.io.writeText.

+
fun Path.writeText(text: String, charset: Charset = Charsets.UTF_8)(source)

Delegates to kotlin.io.writeText.

diff --git a/docs/kdoc/niok/ch.tutteli.niok/writer.html b/docs/kdoc/niok/ch.tutteli.niok/writer.html index f8882352..478f440a 100644 --- a/docs/kdoc/niok/ch.tutteli.niok/writer.html +++ b/docs/kdoc/niok/ch.tutteli.niok/writer.html @@ -45,7 +45,7 @@
-1.4.7
+1.5.0
@@ -66,10 +66,10 @@

writer

-
inline fun Path.writer(charset: Charset = Charsets.UTF_8): OutputStreamWriter(source)

Delegates to kotlin.io.writer.

+
inline fun Path.writer(charset: Charset = Charsets.UTF_8): OutputStreamWriter(source)

Delegates to kotlin.io.writer.

diff --git a/docs/kdoc/scripts/navigation-pane.json b/docs/kdoc/scripts/navigation-pane.json deleted file mode 100644 index c174e0da..00000000 --- a/docs/kdoc/scripts/navigation-pane.json +++ /dev/null @@ -1 +0,0 @@ -[{"name":"niok","description":null,"location":"index.html","searchKeys":["niok"]},{"name":"ch.tutteli.niok","description":null,"location":"niok/ch.tutteli.niok/index.html","searchKeys":["ch.tutteli.niok"]},{"name":"absolutePathAsString","description":null,"location":"niok/ch.tutteli.niok/absolute-path-as-string.html","searchKeys":["absolutePathAsString"]},{"name":"appendBytes()","description":null,"location":"niok/ch.tutteli.niok/append-bytes.html","searchKeys":["appendBytes()"]},{"name":"appendText()","description":null,"location":"niok/ch.tutteli.niok/append-text.html","searchKeys":["appendText()"]},{"name":"copyRecursively()","description":null,"location":"niok/ch.tutteli.niok/copy-recursively.html","searchKeys":["copyRecursively()"]},{"name":"copyTo()","description":null,"location":"niok/ch.tutteli.niok/copy-to.html","searchKeys":["copyTo()"]},{"name":"createDirectories()","description":null,"location":"niok/ch.tutteli.niok/create-directories.html","searchKeys":["createDirectories()"]},{"name":"createDirectory()","description":null,"location":"niok/ch.tutteli.niok/create-directory.html","searchKeys":["createDirectory()"]},{"name":"createDirectoryIfNotExists()","description":null,"location":"niok/ch.tutteli.niok/create-directory-if-not-exists.html","searchKeys":["createDirectoryIfNotExists()"]},{"name":"createFile()","description":null,"location":"niok/ch.tutteli.niok/create-file.html","searchKeys":["createFile()"]},{"name":"createFileIfNotExists()","description":null,"location":"niok/ch.tutteli.niok/create-file-if-not-exists.html","searchKeys":["createFileIfNotExists()"]},{"name":"createLink()","description":null,"location":"niok/ch.tutteli.niok/create-link.html","searchKeys":["createLink()"]},{"name":"createSymbolicLink()","description":null,"location":"niok/ch.tutteli.niok/create-symbolic-link.html","searchKeys":["createSymbolicLink()"]},{"name":"delete()","description":null,"location":"niok/ch.tutteli.niok/delete.html","searchKeys":["delete()"]},{"name":"deleteIfExists()","description":null,"location":"niok/ch.tutteli.niok/delete-if-exists.html","searchKeys":["deleteIfExists()"]},{"name":"deleteRecursively()","description":null,"location":"niok/ch.tutteli.niok/delete-recursively.html","searchKeys":["deleteRecursively()"]},{"name":"exists","description":null,"location":"niok/ch.tutteli.niok/exists.html","searchKeys":["exists"]},{"name":"extension","description":null,"location":"niok/ch.tutteli.niok/extension.html","searchKeys":["extension"]},{"name":"fileNameAsString","description":null,"location":"niok/ch.tutteli.niok/file-name-as-string.html","searchKeys":["fileNameAsString"]},{"name":"fileNameWithoutExtension","description":null,"location":"niok/ch.tutteli.niok/file-name-without-extension.html","searchKeys":["fileNameWithoutExtension"]},{"name":"fileStore","description":null,"location":"niok/ch.tutteli.niok/file-store.html","searchKeys":["fileStore"]},{"name":"followSymbolicLink()","description":null,"location":"niok/ch.tutteli.niok/follow-symbolic-link.html","searchKeys":["followSymbolicLink()"]},{"name":"forEachBlock()","description":null,"location":"niok/ch.tutteli.niok/for-each-block.html","searchKeys":["forEachBlock()"]},{"name":"forEachLine()","description":null,"location":"niok/ch.tutteli.niok/for-each-line.html","searchKeys":["forEachLine()"]},{"name":"getAttribute()","description":null,"location":"niok/ch.tutteli.niok/get-attribute.html","searchKeys":["getAttribute()"]},{"name":"getFileAttributeView()","description":null,"location":"niok/ch.tutteli.niok/get-file-attribute-view.html","searchKeys":["getFileAttributeView()"]},{"name":"invariantSeparatorsPath","description":null,"location":"niok/ch.tutteli.niok/invariant-separators-path.html","searchKeys":["invariantSeparatorsPath"]},{"name":"isDirectory()","description":null,"location":"niok/ch.tutteli.niok/is-directory.html","searchKeys":["isDirectory()"]},{"name":"isExecutable","description":null,"location":"niok/ch.tutteli.niok/is-executable.html","searchKeys":["isExecutable"]},{"name":"isHidden","description":null,"location":"niok/ch.tutteli.niok/is-hidden.html","searchKeys":["isHidden"]},{"name":"isReadable","description":null,"location":"niok/ch.tutteli.niok/is-readable.html","searchKeys":["isReadable"]},{"name":"isRegularFile()","description":null,"location":"niok/ch.tutteli.niok/is-regular-file.html","searchKeys":["isRegularFile()"]},{"name":"isRooted","description":null,"location":"niok/ch.tutteli.niok/is-rooted.html","searchKeys":["isRooted"]},{"name":"isSameFile()","description":null,"location":"niok/ch.tutteli.niok/is-same-file.html","searchKeys":["isSameFile()"]},{"name":"isSymbolicLink","description":null,"location":"niok/ch.tutteli.niok/is-symbolic-link.html","searchKeys":["isSymbolicLink"]},{"name":"isWritable","description":null,"location":"niok/ch.tutteli.niok/is-writable.html","searchKeys":["isWritable"]},{"name":"lastModifiedTime()","description":null,"location":"niok/ch.tutteli.niok/last-modified-time.html","searchKeys":["lastModifiedTime()"]},{"name":"move()","description":null,"location":"niok/ch.tutteli.niok/move.html","searchKeys":["move()"]},{"name":"nameWithoutExtension","description":null,"location":"niok/ch.tutteli.niok/name-without-extension.html","searchKeys":["nameWithoutExtension"]},{"name":"newBufferedReader()","description":null,"location":"niok/ch.tutteli.niok/new-buffered-reader.html","searchKeys":["newBufferedReader()"]},{"name":"newBufferedWriter()","description":null,"location":"niok/ch.tutteli.niok/new-buffered-writer.html","searchKeys":["newBufferedWriter()"]},{"name":"newByteChannel()","description":null,"location":"niok/ch.tutteli.niok/new-byte-channel.html","searchKeys":["newByteChannel()"]},{"name":"newDirectory()","description":null,"location":"niok/ch.tutteli.niok/new-directory.html","searchKeys":["newDirectory()"]},{"name":"newDirectoryStream()","description":null,"location":"niok/ch.tutteli.niok/new-directory-stream.html","searchKeys":["newDirectoryStream()"]},{"name":"newFile()","description":null,"location":"niok/ch.tutteli.niok/new-file.html","searchKeys":["newFile()"]},{"name":"newInputStream()","description":null,"location":"niok/ch.tutteli.niok/new-input-stream.html","searchKeys":["newInputStream()"]},{"name":"newOutputStream()","description":null,"location":"niok/ch.tutteli.niok/new-output-stream.html","searchKeys":["newOutputStream()"]},{"name":"notExists()","description":null,"location":"niok/ch.tutteli.niok/not-exists.html","searchKeys":["notExists()"]},{"name":"owner()","description":null,"location":"niok/ch.tutteli.niok/owner.html","searchKeys":["owner()"]},{"name":"posixFilePersmissions()","description":null,"location":"niok/ch.tutteli.niok/posix-file-persmissions.html","searchKeys":["posixFilePersmissions()"]},{"name":"printWriter()","description":null,"location":"niok/ch.tutteli.niok/print-writer.html","searchKeys":["printWriter()"]},{"name":"probeContentType()","description":null,"location":"niok/ch.tutteli.niok/probe-content-type.html","searchKeys":["probeContentType()"]},{"name":"readAllBytes()","description":null,"location":"niok/ch.tutteli.niok/read-all-bytes.html","searchKeys":["readAllBytes()"]},{"name":"readAllLines()","description":null,"location":"niok/ch.tutteli.niok/read-all-lines.html","searchKeys":["readAllLines()"]},{"name":"readAttributes()","description":null,"location":"niok/ch.tutteli.niok/read-attributes.html","searchKeys":["readAttributes()"]},{"name":"reader()","description":null,"location":"niok/ch.tutteli.niok/reader.html","searchKeys":["reader()"]},{"name":"readSymbolicLink()","description":null,"location":"niok/ch.tutteli.niok/read-symbolic-link.html","searchKeys":["readSymbolicLink()"]},{"name":"readText()","description":null,"location":"niok/ch.tutteli.niok/read-text.html","searchKeys":["readText()"]},{"name":"reCreateDirectory()","description":null,"location":"niok/ch.tutteli.niok/re-create-directory.html","searchKeys":["reCreateDirectory()"]},{"name":"relativeTo()","description":null,"location":"niok/ch.tutteli.niok/relative-to.html","searchKeys":["relativeTo()"]},{"name":"relativeToOrNull()","description":null,"location":"niok/ch.tutteli.niok/relative-to-or-null.html","searchKeys":["relativeToOrNull()"]},{"name":"relativeToOrSelf()","description":null,"location":"niok/ch.tutteli.niok/relative-to-or-self.html","searchKeys":["relativeToOrSelf()"]},{"name":"resolve()","description":null,"location":"niok/ch.tutteli.niok/resolve.html","searchKeys":["resolve()"]},{"name":"setAttribute()","description":null,"location":"niok/ch.tutteli.niok/set-attribute.html","searchKeys":["setAttribute()"]},{"name":"setLastModifiedTime()","description":null,"location":"niok/ch.tutteli.niok/set-last-modified-time.html","searchKeys":["setLastModifiedTime()"]},{"name":"setPosixFilePermissions()","description":null,"location":"niok/ch.tutteli.niok/set-posix-file-permissions.html","searchKeys":["setPosixFilePermissions()"]},{"name":"size","description":null,"location":"niok/ch.tutteli.niok/size.html","searchKeys":["size"]},{"name":"toRelativeString()","description":null,"location":"niok/ch.tutteli.niok/to-relative-string.html","searchKeys":["toRelativeString()"]},{"name":"useLines()","description":null,"location":"niok/ch.tutteli.niok/use-lines.html","searchKeys":["useLines()"]},{"name":"writeBytes()","description":null,"location":"niok/ch.tutteli.niok/write-bytes.html","searchKeys":["writeBytes()"]},{"name":"writeLines()","description":null,"location":"niok/ch.tutteli.niok/write-lines.html","searchKeys":["writeLines()"]},{"name":"writer()","description":null,"location":"niok/ch.tutteli.niok/writer.html","searchKeys":["writer()"]},{"name":"writeText()","description":null,"location":"niok/ch.tutteli.niok/write-text.html","searchKeys":["writeText()"]}] diff --git a/docs/kdoc/scripts/platform-content-handler.js b/docs/kdoc/scripts/platform-content-handler.js index 8c4ca538..811c4788 100644 --- a/docs/kdoc/scripts/platform-content-handler.js +++ b/docs/kdoc/scripts/platform-content-handler.js @@ -18,8 +18,6 @@ const samplesLightThemeName = 'idea' window.addEventListener('load', () => { document.querySelectorAll("div[data-platform-hinted]") .forEach(elem => elem.addEventListener('click', (event) => togglePlatformDependent(event, elem))) - document.querySelectorAll("div[tabs-section]") - .forEach(elem => elem.addEventListener('click', (event) => toggleSectionsEventHandler(event))) const filterSection = document.getElementById('filter-section') if (filterSection) { filterSection.addEventListener('click', (event) => filterButtonHandler(event)) @@ -177,19 +175,30 @@ function handleAnchor() { } function initTabs() { - document.querySelectorAll("div[tabs-section]") - .forEach(element => { - showCorrespondingTabBody(element) - element.addEventListener('click', (event) => toggleSectionsEventHandler(event)) - }) - let cached = localStorage.getItem("active-tab") - if (cached) { - let parsed = JSON.parse(cached) - let tab = document.querySelector('div[tabs-section] > button[data-togglable="' + parsed + '"]') - if (tab) { - toggleSections(tab) - } - } + // we could have only a single type of data - classlike or package + const mainContent = document.querySelector('.main-content'); + const type = mainContent ? mainContent.getAttribute("data-page-type") : null; + const localStorageKey = "active-tab-" + type; + document.querySelectorAll('div[tabs-section]').forEach(element => { + showCorrespondingTabBody(element); + element.addEventListener('click', ({target}) => { + const togglable = target ? target.getAttribute("data-togglable") : null; + if (!togglable) return; + + localStorage.setItem(localStorageKey, JSON.stringify(togglable)); + toggleSections(target); + }); + }); + + const cached = localStorage.getItem(localStorageKey); + if (!cached) return; + + const tab = document.querySelector( + 'div[tabs-section] > button[data-togglable="' + JSON.parse(cached) + '"]' + ); + if (!tab) return; + + toggleSections(tab); } function showCorrespondingTabBody(element) { @@ -293,12 +302,6 @@ function toggleSections(target) { activateTabsBody("tabs-section-body") } -function toggleSectionsEventHandler(evt) { - if (!evt.target.getAttribute("data-togglable")) return - localStorage.setItem('active-tab', JSON.stringify(evt.target.getAttribute("data-togglable"))) - toggleSections(evt.target) -} - function togglePlatformDependent(e, container) { let target = e.target if (target.tagName != 'BUTTON') return; diff --git a/docs/kdoc/styles/jetbrains-mono.css b/docs/kdoc/styles/jetbrains-mono.css deleted file mode 100644 index 9a0f06f8..00000000 --- a/docs/kdoc/styles/jetbrains-mono.css +++ /dev/null @@ -1,17 +0,0 @@ -@font-face{ - font-family: 'JetBrains Mono'; - src: url('https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/fonts/web/JetBrainsMono-Regular.eot') format('embedded-opentype'), - url('https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/fonts/webfonts/JetBrainsMono-Regular.woff2') format('woff2'), - url('https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/fonts/ttf/JetBrainsMono-Regular.ttf') format('truetype'); - font-weight: normal; - font-style: normal; -} - -@font-face{ - font-family: 'JetBrains Mono'; - src: url('https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/fonts/web/JetBrainsMono-Bold.eot') format('embedded-opentype'), - url('https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/fonts/webfonts/JetBrainsMono-Bold.woff2') format('woff2'), - url('https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/fonts/ttf/JetBrainsMono-Bold.ttf') format('truetype'); - font-weight: bold; - font-style: bold; -} \ No newline at end of file diff --git a/docs/kdoc/styles/main.css b/docs/kdoc/styles/main.css index ebe1ce12..5f7781ec 100644 --- a/docs/kdoc/styles/main.css +++ b/docs/kdoc/styles/main.css @@ -1,6 +1,6 @@ /*! * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. - */#pages-search{cursor:pointer;border:none;border-radius:50%;background:transparent;fill:#fff;fill:var(--dark-mode-and-search-icon-color)}#pages-search:focus{outline:none}#pages-search:hover{background:var(--white-10)}.search,.search [data-test=ring-select],.search [data-test=ring-tooltip],.search [data-test=ring-select_focus],.search #pages-search{display:inline-block;padding:0;margin:0;font-size:0;line-height:0}.search-hotkey-popup{background-color:var(--background-color) !important;padding:4px}.popup-wrapper{min-width:calc(100% - 322px) !important;border:1px solid rgba(255,255,255,.2) !important;background-color:#27282c !important}.popup-wrapper [class^=filterWrapper]{border-bottom:1px solid rgba(255,255,255,.2)}.popup-wrapper input{color:rgba(255,255,255,.8) !important;font-weight:normal !important}.popup-wrapper span[data-test-custom=ring-select-popup-filter-icon]{color:#fff}.popup-wrapper button[data-test=ring-input-clear]{color:#fff !important}@media screen and (max-width: 759px){.popup-wrapper{min-width:100% !important}}.template-wrapper{display:grid;height:32px;grid-template-columns:auto auto}.template-wrapper strong{color:rgba(255,255,255,.8)}.template-wrapper span{color:rgba(255,255,255,.8);line-height:32px}.template-wrapper span.template-description{color:rgba(255,255,255,.6);justify-self:end}@media screen and (max-width: 759px){.template-wrapper{display:flex;flex-direction:column;height:auto}.template-wrapper span{line-height:unset}}.template-name{justify-self:start}[class^=fade]{display:none}[class*=hover]{background-color:rgba(255,255,255,.1) !important} + */#pages-search{cursor:pointer;border:none;border-radius:50%;background:transparent;fill:#fff;fill:var(--dark-mode-and-search-icon-color)}#pages-search:hover{background:var(--white-10)}.search,.search [data-test=ring-select],.search [data-test=ring-tooltip],.search [data-test=ring-select_focus],.search #pages-search{display:inline-block;padding:0;margin:0;font-size:0;line-height:0}.search-hotkey-popup{background-color:var(--background-color) !important;padding:4px}.popup-wrapper{min-width:calc(100% - 322px) !important;border:1px solid rgba(255,255,255,.2) !important;background-color:#27282c !important;color:rgba(255,255,255,.8)}.popup-wrapper [class^=filterWrapper]{border-bottom:1px solid rgba(255,255,255,.2)}.popup-wrapper input{color:rgba(255,255,255,.8) !important;font-weight:normal !important}.popup-wrapper span[data-test-custom=ring-select-popup-filter-icon]{color:#fff}.popup-wrapper button[data-test=ring-input-clear]{color:#fff !important}@media screen and (max-width: 759px){.popup-wrapper{min-width:100% !important}}.template-wrapper{display:grid;height:32px;grid-template-columns:auto auto}.template-wrapper strong{color:rgba(255,255,255,.8)}.template-wrapper span{color:rgba(255,255,255,.8);line-height:32px}.template-wrapper span.template-description{color:rgba(255,255,255,.6);justify-self:end}@media screen and (max-width: 759px){.template-wrapper{display:flex;flex-direction:column;height:auto}.template-wrapper span{line-height:unset}}.template-name{justify-self:start}[class^=fade]{display:none}[class*=hover]{background-color:rgba(255,255,255,.1) !important} /* stylelint-disable color-no-hex */ :root { diff --git a/docs/kdoc/styles/style.css b/docs/kdoc/styles/style.css index 67a899a5..fc2b84d2 100644 --- a/docs/kdoc/styles/style.css +++ b/docs/kdoc/styles/style.css @@ -342,6 +342,7 @@ td:first-child { /* --- Navigation controls --- */ .navigation-controls { display: flex; + margin-left: 4px; } @media (min-width: 760px) { @@ -354,45 +355,50 @@ td:first-child { display: none; } -/* --- Navigation THEME --- */ -.navigation-controls--search { +.navigation-controls--btn { display: inline-flex; - font-size: 0; - line-height: 0; -} - -.navigation-controls--theme { - display: block; + align-items: center; + justify-content: center; + width: 40px; + height: 40px; border-radius: 50%; background-color: inherit; - margin-left: 4px; + background-position: 50% 50%; padding: 0; border: none; cursor: pointer; font-size: 0; line-height: 0; + transition: background-color 200ms ease-in-out; + will-change: background-color; } -.navigation-controls--theme::before { - height: 40px; - width: 40px; +.navigation-controls--btn:hover { + background-color: var(--white-10); +} + +.navigation-controls--theme { + background-image: url("../images/theme-toggle.svg"); + background-repeat: no-repeat; } -.navigation-controls--theme:hover { - background: var(--white-10); +@media (max-width: 759px) { + .navigation-controls--theme { + display: none; + } } -.navigation-controls--theme::before { - display: block; - content: url("../images/theme-toggle.svg"); +.navigation-controls--homepage { + background-image: url("../images/homepage.svg"); + background-repeat: no-repeat; + background-size: 24px 24px; } @media (max-width: 759px) { - .navigation-controls--theme { + .navigation-controls--homepage { display: none; } } -/* /--- Navigation THEME --- */ .navigation .platform-selector:not([data-active]) { color: #fff; @@ -656,6 +662,26 @@ code.paragraph { text-decoration: line-through; } +/* Workaround for Firefox https://github.com/Kotlin/dokka/issues/3156 */ +@-moz-document url-prefix() { + .strikethrough { + position: relative; + text-decoration: none; + } + + /* complex selectors here are required to handle multiline cases */ + .strikethrough::after, .strikethrough span:after { + content: ''; + position: absolute; + top: 7px; + left: 0; + right: 0; + height: 1px; + background-color: currentColor; + z-index: 1; + } +} + .symbol:empty { padding: 0; } @@ -684,7 +710,7 @@ code { code:not(.block) { display: inline-block; - vertical-align: middle; + vertical-align: bottom; } .symbol > a {