MCPcopy Create free account
hub / github.com/DavidWells/analytics / fileExists

Function fileExists

scripts/docs.js:13–13  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

11const { getSizeInfo } = require('./getSize')
12
13const fileExists = (s) => new Promise(r => fs.access(s, fs.F_OK, e => r(!e)))
14
15// Force sync processing until markdown-magic 2.0 is released
16

Callers 1

docs.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected