MCPcopy Index your code
hub / github.com/NullArray/AutoSploit / create_identifier

Function create_identifier

lib/creation/issue_creator.py:88–97  ·  view source on GitHub ↗

create the exception identifier

(data)

Source from the content-addressed store, hash-verified

86
87
88def create_identifier(data):
89 """
90 create the exception identifier
91 """
92 obj = hashlib.sha1()
93 try:
94 obj.update(data)
95 except:
96 obj.update(data.encode("utf-8"))
97 return obj.hexdigest()[1:10]
98
99
100def get_token(path):

Callers 1

request_issue_creationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected