Skip to content

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

:fire: Remove unused PutDocIAL/GetDocIAL (no callers remain) #18200

Daniel74e0b64aa513
diff --git a/kernel/cache/ial.go b/kernel/cache/ial.go
index 1ed7e4af14..ccec4b9a1d 100644
--- a/kernel/cache/ial.go
+++ b/kernel/cache/ial.go
@@ -35,10 +35,6 @@ func docIALCacheKey(p, boxID string) string {
return boxID + "\x00" + p
}
-func PutDocIAL(p string, ial map[string]string) {
- PutDocIALInBox(p, "", ial)
-}
-
func PutDocIALInBox(p, boxID string, ial map[string]string) {
key := docIALCacheKey(p, boxID)
docIALCache.Set(key, ial, 128)
@@ -53,10 +49,6 @@ func PutDocIALInBox(p, boxID string, ial map[string]string) {
keys[key] = struct{}{}
}
-func GetDocIAL(p string) (ret map[string]string) {
- return GetDocIALInBox(p, "")
-}
-
func GetDocIALInBox(p, boxID string) (ret map[string]string) {
ial, _ := docIALCache.Get(docIALCacheKey(p, boxID))
if nil == ial {