MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / endsWith

Function endsWith

project/emscripten/boxedwine-shell.js:856–858  ·  view source on GitHub ↗
(str, suffix)

Source from the content-addressed store, hash-verified

854 selectedFilename = filename
855}
856function endsWith(str, suffix) {
857 return str.indexOf(suffix, str.length - suffix.length) !== -1;
858}
859function extract() {
860 let file = document.getElementById('selectedItem').value;
861 if(file != null && file.length > 0 && files.length > 1) {

Callers 2

extractFunction · 0.85
parentDirFunction · 0.85

Calls 1

indexOfMethod · 0.80

Tested by

no test coverage detected