View definition

func ToContext(c Setter, cache Cache)

Defined in github.com/drone/drone/cache/context.go

Description

ToContext adds the Cache to this context if it supports the Setter interface.