MCPcopy 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
72async 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
78async function exists(f) {
79 try {

Callers 1

buildIcons.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected