Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ahupp/python-magic
/ magic_descriptor
Function
magic_descriptor
magic/__init__.py:321–322 ·
view source on GitHub ↗
(cookie, fd)
Source
from the content-addressed store, hash-verified
319
320
321
def
magic_descriptor(cookie, fd):
322
return
_magic_descriptor(cookie, fd)
323
324
325
_magic_load = libmagic.magic_load
Callers
1
from_descriptor
Method · 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…