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

Function getRowEl

public/js/fileDragDrop.js:12–14  ·  view source on GitHub ↗
(el)

Source from the content-addressed store, hash-verified

10
11/* ---------------- helpers ---------------- */
12function getRowEl(el) {
13 return el?.closest('tr[data-file-name], .gallery-card[data-file-name]') || null;
14}
15function parentFolderOf(path) {
16 if (!path || path === 'root') return 'root';
17 const parts = String(path).split('/').filter(Boolean);

Callers 2

getNameFromAnyFunction · 0.85
fileDragStartHandlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected