Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix(docs): Fix URL to docs of deprecated function humanFileSize
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen authored and backportbot-nextcloud[bot] committed Mar 8, 2023
commit 62866bb097f476d5a045206a1984b31fcd6be37e
4 changes: 2 additions & 2 deletions core/src/OC/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,

Expand All @@ -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
*
*
Expand Down