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

Function getSelectedFileValuesForList

public/js/fileListView.js:7277–7281  ·  view source on GitHub ↗

* Render table view

(listEl)

Source from the content-addressed store, hash-verified

7275
7276
7277function getSelectedFileValuesForList(listEl) {
7278 if (!listEl) return [];
7279 return Array.from(listEl.querySelectorAll('tbody .file-checkbox:checked'))
7280 .map(cb => cb.value);
7281}
7282
7283function restoreSelectedFileValues(listEl, selectedValues) {
7284 if (!listEl || !Array.isArray(selectedValues) || !selectedValues.length) return;

Callers 1

renderFileTableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected