MCPcopy Index your code
hub / github.com/pymupdf/PyMuPDF / next_fd

Function next_fd

tests/test_general.py:930–933  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

928 os.close(next_fd_2)
929
930 def next_fd():
931 fd = os.open(path2, os.O_RDONLY)
932 os.close(fd)
933 return fd
934
935 fd1 = next_fd()
936 document = pymupdf.open(path2)

Callers 2

test_3081Function · 0.85
test_3140Function · 0.85

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…