MCPcopy Create free account
hub / github.com/RenderKit/oidn / is_git_lfs_pointer

Function is_git_lfs_pointer

scripts/blob_to_cpp.py:15–17  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

13BLOB_ALIGNMENT = 64
14
15def is_git_lfs_pointer(data):
16 HEADER = array('B', b'version https://git-lfs.github.com/spec/')
17 return data[:len(HEADER)] == HEADER
18
19def write_prologue(out_file, in_name):
20 out_file.write('// Generated from: %s\n\n' % in_name)

Callers 1

generateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected