MCPcopy Create free account
hub / github.com/pytorch/pytorch / from_existing

Method from_existing

scripts/release_notes/commitlist.py:70–72  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

68
69 @staticmethod
70 def from_existing(path):
71 commits = CommitList.read_from_disk(path)
72 return CommitList(path, commits)
73
74 @staticmethod
75 def create_new(path, base_version, new_version):

Callers 6

update_existingFunction · 0.80
rerun_with_new_filtersFunction · 0.80
mainFunction · 0.80
test_read_writeMethod · 0.80
test_update_toMethod · 0.80
__init__Method · 0.80

Calls 2

CommitListClass · 0.85
read_from_diskMethod · 0.45

Tested by 2

test_read_writeMethod · 0.64
test_update_toMethod · 0.64