Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Clean code

Daniel920f7e462302
diff --git a/kernel/util/etag.go b/kernel/util/etag.go
index 2152966f96..9c9fbee86b 100644
--- a/kernel/util/etag.go
+++ b/kernel/util/etag.go
@@ -80,7 +80,6 @@ func BlockCount(fsize int64) int {
}
func CalSha1(b []byte, r io.Reader) ([]byte, error) {
-
h := sha1.New()
_, err := io.Copy(h, r)
if err != nil {