MCPcopy Create free account
hub / github.com/apache/arrow / key_path

Method key_path

dev/archery/archery/utils/cache.py:36–38  ·  view source on GitHub ↗

Return the full path of a key.

(self, key)

Source from the content-addressed store, hash-verified

34 os.makedirs(path)
35
36 def key_path(self, key):
37 """ Return the full path of a key. """
38 return self.root/key
39
40 def get(self, key):
41 """ Return the full path of a key if cached, None otherwise. """

Callers 2

getMethod · 0.95
get_or_insertMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected