An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:recycle: Code style: Field assignment without explicit names (#17301)
Jeffrey Chenbd1d45d43787
diff --git a/kernel/filesys/stat.go b/kernel/filesys/stat.goindex 09a83b3c5f..3f48b6703b 100644--- a/kernel/filesys/stat.go+++ b/kernel/filesys/stat.go@@ -66,12 +66,12 @@ func StatBlock(id string) (ret *util.BlockStatResult) {runeCnt, wordCnt, linkCnt, imgCnt, refCnt := node.Stat()ret = &util.BlockStatResult{- runeCnt,- wordCnt,- linkCnt,- imgCnt,- refCnt,- 1,+ RuneCount: runeCnt,+ WordCount: wordCnt,+ LinkCount: linkCnt,+ ImageCount: imgCnt,+ RefCount: refCnt,+ BlockCount: 1,}return}