MCPcopy Create free account
hub / github.com/breck7/scroll / getCTime

Method getCTime

external/.scrollLibs.js:21833–21839  ·  view source on GitHub ↗
(absolutePath)

Source from the content-addressed store, hash-verified

21831 return 1
21832 }
21833 async getCTime(absolutePath) {
21834 if (isUrl(absolutePath)) {
21835 const cached = urlCache[absolutePath]
21836 return cached ? cached.timestamp : Date.now()
21837 }
21838 return 1
21839 }
21840 dirname(path) {
21841 if (isUrl(path)) {
21842 return path.substring(0, path.lastIndexOf("/"))

Callers

nothing calls this directly

Calls 1

isUrlFunction · 0.85

Tested by

no test coverage detected