MCPcopy Index your code
hub / github.com/python/cpython / can_sign

Function can_sign

PC/layout/support/catalog.py:34–35  ·  view source on GitHub ↗
(file)

Source from the content-addressed store, hash-verified

32
33
34def can_sign(file):
35 return file.is_file() and file.stat().st_size
36
37
38@public

Callers 1

write_catalogFunction · 0.85

Calls 2

is_fileMethod · 0.45
statMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…