Searched refs:cache_artifact (Results 1 – 1 of 1) sorted by relevance
29 def retrieve_object(cls, cache_artifact, obj): argument30 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): argument55 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 …]