]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix(docs): Fix URL to docs of deprecated function humanFileSize
authorJoas Schilling <coding@schilljs.com>
Wed, 8 Mar 2023 09:23:22 +0000 (10:23 +0100)
committerJoas Schilling <coding@schilljs.com>
Wed, 8 Mar 2023 09:23:22 +0000 (10:23 +0100)
Signed-off-by: Joas Schilling <coding@schilljs.com>
core/src/OC/util.js

index e1a2f8f0687cfe30eae18b5c56fc13efd0209997..27485115f8d2bcf1410ec500d77f2a93044cbc94 100644 (file)
@@ -64,7 +64,7 @@ export default {
        History,
 
        /**
-        * @deprecated use https://nextcloud.github.io/nextcloud-files/modules/_humanfilesize_.html#formatfilesize
+        * @deprecated use https://nextcloud.github.io/nextcloud-files/functions/formatFileSize.html
         */
        humanFileSize,
 
@@ -73,7 +73,7 @@ export default {
         * Makes 2kB to 2048.
         * Inspired by computerFileSize in helper.php
         *
-        * @param  {string} string file size in human readable format
+        * @param  {string} string file size in human-readable format
         * @return {number} or null if string could not be parsed
         *
         *