MCPcopy
hub / github.com/plotly/dash / build_fingerprint

Function build_fingerprint

dash/fingerprint.py:7–13  ·  view source on GitHub ↗
(path, version, hash_value)

Source from the content-addressed store, hash-verified

5
6
7def build_fingerprint(path, version, hash_value):
8 path_parts = path.split("/")
9 filename, extension = path_parts[-1].split(".", 1)
10 file_path = "/".join(path_parts[:-1] + [filename])
11 v_str = re.sub(version_clean, "_", str(version))
12
13 return f"{file_path}.v{v_str}m{hash_value}.{extension}"
14
15
16def check_fingerprint(path):

Callers 3

test_fingerprintFunction · 0.90
_get_worker_urlMethod · 0.85
_relative_url_pathMethod · 0.85

Calls 1

subMethod · 0.80

Tested by 1

test_fingerprintFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…