Skip to content
This repository was archived by the owner on Jan 13, 2024. It is now read-only.

Commit 4a18854

Browse files
committed
chore: remove @deprecated annotation on #normalizePath
1 parent e0eee80 commit 4a18854

File tree

3 files changed

+1
-19
lines changed

3 files changed

+1
-19
lines changed

docs/support-fs/org.noelware.remi.filesystem/-filesystem-storage-trailer/normalize-path.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<div class="cover ">
4343
<h1 class="cover"><span>normalize</span><wbr><span><span>Path</span></span></h1>
4444
</div>
45-
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":support-fs:dokkaHtmlPartial/main"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><a href="normalize-path.html"><span class="token function">normalizePath</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">path<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><p class="paragraph">Returns the <a href="normalize-path.html">path</a> as a "normalized" version:</p><ul><li><p class="paragraph">If the <a href="normalize-path.html">path</a> starts with <code class="lang-kotlin">./</code>, replace <code class="lang-kotlin">./</code> with <a href="../-filesystem-storage-config/directory.html">config.directory</a></p></li><li><p class="paragraph">If the <a href="normalize-path.html">path</a> starts with <code class="lang-kotlin">~/</code>, replace <code class="lang-kotlin">~/</code> with system property <code class="lang-kotlin">user.home</code> (or <code class="lang-kotlin">/</code> by default)</p></li><li><p class="paragraph">If the clauses both fail, do not do anything with the path.</p></li></ul><div class="block"></div><h4 class="">Return</h4><p class="paragraph">The normalized path.</p><h2 class="">Parameters</h2><div data-togglable="Parameters"><div class="table" data-togglable="Parameters"><div class="table-row" data-filterable-current=":support-fs:dokkaHtmlPartial/main" data-filterable-set=":support-fs:dokkaHtmlPartial/main"><div class="main-subrow keyValue WithExtraAttributes"><div class=""><span class="inline-flex"><div><span><span>path</span></span></div></span></div><div><div class="title"><div data-togglable="Parameters"><p class="paragraph">The path to normalize</p></div></div></div></div></div></div></div></div></div>
45+
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":support-fs:dokkaHtmlPartial/main"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><a href="normalize-path.html"><span class="token function">normalizePath</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">path<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><p class="paragraph">Returns the <a href="normalize-path.html">path</a> as a "normalized" version:</p><ul><li><p class="paragraph">If the <a href="normalize-path.html">path</a> starts with <code class="lang-kotlin">./</code>, replace <code class="lang-kotlin">./</code> with <a href="../-filesystem-storage-config/directory.html">config.directory</a></p></li><li><p class="paragraph">If the <a href="normalize-path.html">path</a> starts with <code class="lang-kotlin">~/</code>, replace <code class="lang-kotlin">~/</code> with system property <code class="lang-kotlin">user.home</code> (or <code class="lang-kotlin">/</code> by default)</p></li><li><p class="paragraph">If the clauses both fail, do not do anything with the path.</p></li></ul><h4 class="">Return</h4><p class="paragraph">The normalized path.</p><h2 class="">Parameters</h2><div data-togglable="Parameters"><div class="table" data-togglable="Parameters"><div class="table-row" data-filterable-current=":support-fs:dokkaHtmlPartial/main" data-filterable-set=":support-fs:dokkaHtmlPartial/main"><div class="main-subrow keyValue WithExtraAttributes"><div class=""><span class="inline-flex"><div><span><span>path</span></span></div></span></div><div><div class="title"><div data-togglable="Parameters"><p class="paragraph">The path to normalize</p></div></div></div></div></div></div></div></div></div>
4646
</div>
4747
<div class="footer">
4848
<span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>© 2022 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span>

support-fs/src/main/kotlin/org/noelware/remi/filesystem/FilesystemStorageTrailer.kt

-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ class FilesystemStorageTrailer(override val config: FilesystemStorageConfig): St
8282
* - If the [path] starts with `~/`, replace `~/` with system property `user.home` (or `/` by default)
8383
* - If the clauses both fail, do not do anything with the path.
8484
*
85-
* @deprecated
8685
* @param path The path to normalize
8786
* @return The normalized path.
8887
*/

support-gcs/src/test/kotlin/GoogleCloudStorageTests.kt

-17
This file was deleted.

0 commit comments

Comments
 (0)