MCPcopy Create free account
hub / github.com/error311/FileRise / applyFilter

Function applyFilter

public/js/sharedFolderView.js:869–873  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

867 }
868
869 function applyFilter() {
870 const term = (searchEl && searchEl.value) ? searchEl.value.trim().toLowerCase() : '';
871 if (!term) return entries.slice();
872 return entries.filter((entry) => String(entry.name || '').toLowerCase().includes(term));
873 }
874
875 function renderAll() {
876 const filtered = applyFilter();

Callers 1

renderAllFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected