MCPcopy
hub / github.com/coze-dev/coze-studio / ResourcePacker

Interface ResourcePacker

backend/application/search/resource_pack.go:50–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50type ResourcePacker interface {
51 GetDataInfo(ctx context.Context) (*dataInfo, error)
52 GetActions(ctx context.Context) []*common.ResourceAction
53 GetProjectDefaultActions(ctx context.Context) []*common.ProjectResourceAction
54}
55
56func NewResourcePacker(resID int64, t common.ResType, appContext *ServiceComponents) (ResourcePacker, error) {
57 base := resourceBasePacker{appContext: appContext, resID: resID}

Callers 4

packResourceMethod · 0.95
packProjectResourceMethod · 0.95
packResourceMethod · 0.95
packProjectResourceMethod · 0.95

Implementers 3

workflowPackerbackend/application/search/resource_pa
knowledgePackerbackend/application/search/resource_pa
databasePackerbackend/application/search/resource_pa

Calls

no outgoing calls

Tested by

no test coverage detected