MCPcopy Create free account
hub / github.com/diffgram/diffgram / get_blob_file_name

Function get_blob_file_name

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

Source from the content-addressed store, hash-verified

30
31
32def get_blob_file_name(blob_path: str) -> str:
33 splitted = blob_path.split('/')
34 return splitted[len(splitted) - 1]
35
36
37def get_blob_file_path_without_name(blob_path: str) -> str:

Calls 1

splitMethod · 0.80

Tested by

no test coverage detected