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

Method ClearCache

pkg/compression/service.go:246–248  ·  view source on GitHub ↗

ClearCache 清空缓存

()

Source from the content-addressed store, hash-verified

244
245// ClearCache 清空缓存
246func (s *DefaultCompressionService) ClearCache() {
247 s.cache.Clear()
248}
249
250// compressSimple 简单压缩(基于规则)
251func (s *DefaultCompressionService) compressSimple(ctx context.Context, prompt string, opts *CompressOptions) (*CompressResult, error) {

Callers

nothing calls this directly

Calls 1

ClearMethod · 0.45

Tested by

no test coverage detected