Home
last modified time | relevance | path

Searched refs:cache_artifact (Results 1 – 1 of 1) sorted by relevance

/build/scripts/util/
Dpycache.py29 def retrieve_object(cls, cache_artifact, obj): argument
30 possible_dir_cache_artifact = '{}.directory'.format(cache_artifact)
32 if os.path.exists(cache_artifact):
34 shutil.copyfile(cache_artifact, obj)
35 os.utime(cache_artifact)
54 def add_object(cls, cache_artifact, obj): argument
55 cache_dir = os.path.dirname(cache_artifact)
62 dir_cache_artifact = '{}.directory'.format(cache_artifact)
67 shutil.copyfile(obj, cache_artifact)
69 print("copying {} to {}".format(obj, cache_artifact))
[all …]