From 3f3ca2fe42119f799dd0fbf55e757cc5a0fcdb75 Mon Sep 17 00:00:00 2001 From: Filipp Zhinkin Date: Wed, 30 Oct 2024 14:13:13 -0400 Subject: [PATCH] Fixed module descriptions --- core/Module.md | 8 ++++---- filesystem/Module.md | 13 +++++++------ 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/core/Module.md b/core/Module.md index b5cbd9d5..647a4b94 100644 --- a/core/Module.md +++ b/core/Module.md @@ -75,10 +75,10 @@ fun Message.Companion.fromBson(source: Source): Message { } ``` -# Package kotlinx.io - -Core IO primitives. - #### Thread-safety guarantees Until stated otherwise, types and functions provided by the library are not thread safe. + +# Package kotlinx.io + +Core IO primitives. diff --git a/filesystem/Module.md b/filesystem/Module.md index d9d3d45b..ee46d7b9 100644 --- a/filesystem/Module.md +++ b/filesystem/Module.md @@ -2,10 +2,6 @@ The module provides experimental files and filesystem support. The API is unstable and will change in the future. -# Package kotlinx.io.files - -Basic API for working with files. - #### Thread-safety guarantees Until stated otherwise, types and functions provided by the library are not thread safe. @@ -14,6 +10,11 @@ Until stated otherwise, types and functions provided by the library are not thre [//]: <> (TODO: Link to SystemFileSystem doesn't work) - For JS and Wasm, [kotlinx.io.files.SystemFileSystem] is supported only in the NodeJs environment. Attempts to use it -in the browser environment will result in a runtime error. + in the browser environment will result in a runtime error. - [#312](https://github.com/Kotlin/kotlinx-io/issues/312) For `wasmWasi` target, directory listing ([kotlinx.io.files.FileSystem.list]) does not work with NodeJS runtime on Windows, -as `fd_readdir` function is [not implemented there](https://github.com/nodejs/node/blob/6f4d6011ea1b448cf21f5d363c44e4a4c56ca34c/deps/uvwasi/src/uvwasi.c#L19). + as `fd_readdir` function is [not implemented there](https://github.com/nodejs/node/blob/6f4d6011ea1b448cf21f5d363c44e4a4c56ca34c/deps/uvwasi/src/uvwasi.c#L19). + +# Package kotlinx.io.files + +Basic API for working with files. +