Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/clips/pattern
/ date_modified
Function
date_modified
pattern/web/cache/__init__.py:61–62 ·
view source on GitHub ↗
(path)
Source
from the content-addressed store, hash-verified
59
def
date_now():
60
return
datetime.datetime.today()
61
def
date_modified(path):
62
return
datetime.datetime.fromtimestamp(os.stat(path)[8])
63
64
class
Cache(object):
65
Callers
2
age
Method · 0.85
clear
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…