Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ipython/ipython
/ getmtime
Function
getmtime
tools/update_whatsnew.py:36–37 ·
view source on GitHub ↗
(f)
Source
from the content-addressed store, hash-verified
34
35
36
def
getmtime(f):
37
return
check_output([
'git'
,
'log'
,
'-1'
,
'--format="%ai"'
,
'--'
, f])
38
39
files = sorted(files, key=getmtime)
40
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected