Skip to content

Commit 188e486

Browse files
committed
fix(docs): Fix URL to docs of deprecated function humanFileSize
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 parent 11a0cb7 commit 188e486

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/OC/util.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export default {
6464
History,
6565

6666
/**
67-
* @deprecated use https://nextcloud.github.io/nextcloud-files/modules/_humanfilesize_.html#formatfilesize
67+
* @deprecated use https://nextcloud.github.io/nextcloud-files/functions/formatFileSize.html
6868
*/
6969
humanFileSize,
7070

@@ -73,7 +73,7 @@ export default {
7373
* Makes 2kB to 2048.
7474
* Inspired by computerFileSize in helper.php
7575
*
76-
* @param {string} string file size in human readable format
76+
* @param {string} string file size in human-readable format
7777
* @return {number} or null if string could not be parsed
7878
*
7979
*

0 commit comments

Comments
 (0)