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

Function build_annotation_hash_list

shared/database/source_control/file.py:1299–1310  ·  view source on GitHub ↗
(annotation_list)

Source from the content-addressed store, hash-verified

1297
1298
1299def build_annotation_hash_list(annotation_list):
1300 hash_list = []
1301 for annotation in annotation_list:
1302
1303 # TODO can we not just limit sql query by this?
1304 # Would avoid having to cycle through it here...!!
1305 # But we would also have to query and only return the instance hash then
1306
1307 if annotation.soft_delete != True: # for working dir only
1308 hash_list.append(annotation.hash)
1309
1310 return hash_list
1311
1312
1313def build_annotation_hash_list_to_object(annotation_list):

Callers 1

hash_updateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected