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: Assets stat in IBytes https://github.com/siyuan-note/siyuan/issues/13374
Daniel66d7a6cd25f9
diff --git a/kernel/api/asset.go b/kernel/api/asset.goindex 0d078e6a4d..f99cbfbf60 100644--- a/kernel/api/asset.go+++ b/kernel/api/asset.go@@ -86,7 +86,7 @@ func statAsset(c *gin.Context) {ret.Data = map[string]interface{}{"size": info.Size(),- "hSize": humanize.BytesCustomCeil(uint64(info.Size()), 2),+ "hSize": humanize.IBytesCustomCeil(uint64(info.Size()), 2),"created": created,"hCreated": hCreated,"updated": updated,