Lines Matching refs:path
32 if os.path.exists(cache_artifact):
33 os.makedirs(os.path.dirname(obj), exist_ok=True)
38 elif os.path.exists(possible_dir_cache_artifact):
55 cache_dir = os.path.dirname(cache_artifact)
58 if not os.path.exists(obj):
61 if os.path.isdir(obj):
82 for path in output_paths:
84 prefix, path))
85 result = self.storage.retrieve_object(cache_artifact, path)
96 for path in output_paths:
98 prefix, path))
99 self.storage.add_object(cache_artifact, path)
109 if not os.path.exists(daemon_config_file):
116 def cache_key(cls, path): argument
118 sha256.update(path.encode())
121 def descend_directory(self, path): argument
122 digest = self.cache_key(path)
123 cache_dir = os.path.join(self.pycache_dir, digest[:2])
124 return cache_dir, os.path.join(cache_dir, digest[2:])
127 def get_manifest_path(self, path): argument
128 manifest_dir, manifest_file = self.descend_directory(path)