MCPcopy Create free account
hub / github.com/Datakitpage/Datakit / folderStore.ts

File folderStore.ts

frontend/src/store/folderStore.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { create } from 'zustand';
2import { persist } from 'zustand/middleware';
3import { v4 as uuidv4 } from 'uuid';
4import { FolderNode, FolderTreeState, FileData, FileType } from '@/types/folder';

Callers

nothing calls this directly

Calls 6

rebuildTreeFunction · 0.85
removeRecursiveFunction · 0.85
setMethod · 0.80
hasMethod · 0.80
getMethod · 0.45
deleteMethod · 0.45

Tested by

no test coverage detected