MCPcopy Index your code
hub / github.com/diffgram/diffgram / get_blob_file_path_without_name

Function get_blob_file_path_without_name

shared/url_generation.py:37–39  ·  view source on GitHub ↗
(blob_path: str)

Source from the content-addressed store, hash-verified

35
36
37def get_blob_file_path_without_name(blob_path: str) -> str:
38 file_name = get_blob_file_name(blob_path)
39 return blob_path.split(file_name)[0]
40
41
42def default_url_regenerate(session: Session,

Callers 1

Calls 2

get_blob_file_nameFunction · 0.85
splitMethod · 0.80

Tested by

no test coverage detected