MCPcopy Index your code
hub / github.com/python/cpython / get_openssl_git_commit

Function get_openssl_git_commit

Tools/ssl/make_ssl_data.py:186–194  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

184
185
186def get_openssl_git_commit(args):
187 git_describe = subprocess.run(
188 ['git', 'describe', '--long', '--dirty'],
189 cwd=args.srcdir,
190 capture_output=True,
191 encoding='utf-8',
192 check=True,
193 )
194 return git_describe.stdout.strip()
195
196
197def main(args=None):

Callers 1

mainFunction · 0.85

Calls 2

runMethod · 0.45
stripMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…