MCPcopy Create free account
hub / github.com/ahupp/python-magic / magic_load

Function magic_load

magic/__init__.py:331–332  ·  view source on GitHub ↗
(cookie, filename)

Source from the content-addressed store, hash-verified

329
330
331def magic_load(cookie, filename):
332 return _magic_load(cookie, coerce_filename(filename))
333
334
335magic_setflags = libmagic.magic_setflags

Callers 1

__init__Method · 0.85

Calls 1

coerce_filenameFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…