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

Function applyAllFolderColors

public/js/folderManager.js:1244–1248  ·  view source on GitHub ↗
(scope = document)

Source from the content-addressed store, hash-verified

1242}
1243
1244function applyAllFolderColors(scope = document) {
1245 Object.entries(window.folderColorMap || {}).forEach(([folder, hex]) => {
1246 applyFolderColorToOption(folder, hex);
1247 });
1248}
1249
1250async function saveFolderColor(folder, colorHexOrEmpty) {
1251 const res = await fetch('/api/folder/saveFolderColor.php', {

Callers 1

loadFolderTreeFunction · 0.85

Calls 1

applyFolderColorToOptionFunction · 0.85

Tested by

no test coverage detected