MCPcopy Create free account
hub / github.com/docker/docker-py / remove

Method remove

docker/context/context.py:173–177  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

171 self.tls_path = get_tls_dir(self.name)
172
173 def remove(self):
174 if os.path.isdir(self.meta_path):
175 rmtree(self.meta_path)
176 if os.path.isdir(self.tls_path):
177 rmtree(self.tls_path)
178
179 def __repr__(self):
180 return f"<{self.__class__.__name__}: '{self.name}'>"

Callers 1

remove_contextMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected