MCPcopy Index your code
hub / github.com/ahupp/python-magic / magic_buffer

Function magic_buffer

magic/__init__.py:306–307  ·  view source on GitHub ↗
(cookie, buf)

Source from the content-addressed store, hash-verified

304
305
306def magic_buffer(cookie, buf):
307 return _magic_buffer(cookie, buf, len(buf))
308
309
310magic_descriptor = libmagic.magic_descriptor

Callers 1

from_bufferMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…