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

Struct CachedTool

pkg/tools/cache.go:465–468  ·  view source on GitHub ↗

CachedTool 带缓存的工具包装器

Source from the content-addressed store, hash-verified

463
464// CachedTool 带缓存的工具包装器
465type CachedTool struct {
466 tool Tool
467 cache *ToolCache
468}
469
470// NewCachedTool 创建带缓存的工具
471func NewCachedTool(tool Tool, cache *ToolCache) *CachedTool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected