Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
11
const
{ getSizeInfo } = require(
'./getSize'
)
12
13
const
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.js
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected