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

Method get_blob_path

shared/database/source_control/file.py:355–367  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

353 return None
354
355 def get_blob_path(self):
356 if self.type == "image":
357 if self.image:
358 return self.image.url_signed_blob_path
359 # For video we're returning the Path to the entire video, not the first frame.
360 if self.type == "video":
361 if self.video:
362 return self.video.file_blob_path
363
364 if self.type == "text":
365 if self.text_file:
366 return self.text_file.url_signed_blob_path
367 return None
368
369 def get_child_point_cloud_file(self, session):
370

Callers 2

download_file_locallyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected