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

Function getULForFolder

public/js/folderManager.js:2459–2464  ·  view source on GitHub ↗
(folder)

Source from the content-addressed store, hash-verified

2457 Selection + helpers
2458----------------------*/
2459function getULForFolder(folder) {
2460 if (folder === 'root') return document.getElementById('rootChildren');
2461 const opt = document.querySelector(`.folder-option[data-folder="${CSS.escape(folder)}"]`);
2462 const li = opt ? opt.closest('li[role="treeitem"]') : null;
2463 return li ? li.querySelector(':scope > ul.folder-tree') : null;
2464}
2465
2466function updateFolderActionButtons() {
2467 const container = document.getElementById('folderTreeContainer');

Callers 9

expandAncestorsFunction · 0.85
refreshFolderChildrenFunction · 0.85
syncTreeAfterFolderMoveFunction · 0.85
selectFolderFunction · 0.85
expandAndLoadSavedStateFunction · 0.85
loadFolderTreeFunction · 0.85
renameFolderInlineFunction · 0.85
folderManager.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected