MCPcopy Create free account
hub / github.com/XIU2/UserScript / folderListCallback

Function folderListCallback

Lanzou-Enhanced.user.js:891–898  ·  view source on GitHub ↗
(records)

Source from the content-addressed store, hash-verified

889 }
890
891 function folderListCallback(records) {
892 if (!menu_value('menu_fileSort')) return;
893 for (const event of records) {
894 // 自己修改的时候不排序
895 if (event.removedNodes.length > 0) return;
896 }
897 sortFolderList();
898 }
899
900 function clickSortButton(by, button) {
901 if (currentStatus.by === by) {

Callers

nothing calls this directly

Calls 2

sortFolderListFunction · 0.85
menu_valueFunction · 0.70

Tested by

no test coverage detected