Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/benoitc/gunicorn
/ rename
Method
rename
gunicorn/pidfile.py:48–51 ·
view source on GitHub ↗
(self, path)
Source
from the content-addressed store, hash-verified
46
os.chmod(self.fname, 420)
47
48
def
rename(self, path):
49
self.unlink()
50
self.fname = path
51
self.create(self.pid)
52
53
def
unlink(self):
54
""
" delete pidfile"
""
Callers
2
maybe_promote_master
Method · 0.80
create
Method · 0.80
Calls
2
unlink
Method · 0.95
create
Method · 0.95
Tested by
no test coverage detected