Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adobe/react-spectrum
/ isNewerThan
Function
isNewerThan
scripts/buildIcons.js:72–76 ·
view source on GitHub ↗
(a, b)
Source
from the content-addressed store, hash-verified
70
}
71
72
async
function
isNewerThan(a, b) {
73
let
a_mtime = (
await
fs.promises.stat(a)).mtime;
74
let
b_mtime = (
await
fs.promises.stat(b)).mtime;
75
return
a_mtime > b_mtime;
76
}
77
78
async
function
exists(f) {
79
try {
Callers
1
buildIcons.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected