Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
34
def
can_sign(file):
35
return
file.is_file() and file.stat().st_size
36
37
38
@public
Callers
1
write_catalog
Function · 0.85
Calls
2
is_file
Method · 0.45
stat
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…