An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: Clean code
Danielee9d035d0e10
diff --git a/kernel/model/file.go b/kernel/model/file.goindex f53459a068..edfdb1a510 100644--- a/kernel/model/file.go+++ b/kernel/model/file.go@@ -230,8 +230,6 @@ type FileInfo struct {isdir bool}-var listDocTreeLock = sync.Map{}-func ListDocTree(boxID, listPath string, sortMode int, flashcard, showHidden bool, maxListCount int) (ret []*File, totals int, err error) {//os.MkdirAll("pprof", 0755)//cpuProfile, _ := os.Create("pprof/cpu_profile_list_doc_tree")