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

Function fileListCallback

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

Source from the content-addressed store, hash-verified

880 }
881
882 function fileListCallback(records) {
883 if (!menu_value('menu_fileSort')) return;
884 for (const event of records) {
885 // 自己修改的时候不排序
886 if (event.removedNodes.length > 0) return;
887 }
888 sortFileList();
889 }
890
891 function folderListCallback(records) {
892 if (!menu_value('menu_fileSort')) return;

Callers

nothing calls this directly

Calls 2

sortFileListFunction · 0.85
menu_valueFunction · 0.70

Tested by

no test coverage detected