MCPcopy Create free account
hub / github.com/astercloud/aster / Sanitize

Method Sanitize

pkg/knowledge/knowledge.go:185–185  ·  view source on GitHub ↗
(item *KnowledgeItem)

Source from the content-addressed store, hash-verified

183// PIIStrategy 定义可插拔的脱敏策略。
184type PIIStrategy interface {
185 Sanitize(item *KnowledgeItem) *KnowledgeItem
186}
187
188// AuditStrategy 定义可插拔的审计策略。

Callers 1

sanitizeContentMethod · 0.65

Implementers 2

redactionStrategypkg/knowledge/manager.go
Redactionpkg/knowledge/strategy/pii.go

Calls

no outgoing calls

Tested by

no test coverage detected