MCPcopy
hub / github.com/eudicots/Cactus / preDeploy

Method preDeploy

cactus/plugin/builtin/cache.py:8–12  ·  view source on GitHub ↗

Load the cache duration from the config

(self, site)

Source from the content-addressed store, hash-verified

6 """
7
8 def preDeploy(self, site):
9 """
10 Load the cache duration from the config
11 """
12 self.cache_duration = site.config.get("cache-duration")
13
14 def preDeployFile(self, file):
15 """

Callers 2

uploadMethod · 0.80
test_cache_controlMethod · 0.80

Calls 1

getMethod · 0.45

Tested by 1

test_cache_controlMethod · 0.64