add jsdoc to file_utils.js

This commit is contained in:
Greyfeather
2025-05-16 14:48:29 -06:00
parent 6dc3b7ff92
commit a78b56c450
@@ -1,3 +1,8 @@
/**
* Trims fthe File protocol off the input string
* @param {string} str
* @returns {string}
*/
function trimFileProtocol(str) {
return str.startsWith("file://") ? str.slice(7) : str;
}