MCPcopy Index your code
hub / github.com/11ty/dev-server / isOutputFilePathExists

Method isOutputFilePathExists

server.js:254–256  ·  view source on GitHub ↗
(rawPath)

Source from the content-addressed store, hash-verified

252 }
253
254 isOutputFilePathExists(rawPath) {
255 return fs.existsSync(rawPath) && !TemplatePath.isDirectorySync(rawPath);
256 }
257
258 /* Use conventions documented here https://www.zachleat.com/web/trailing-slash/
259 * resource.html exists:

Callers 2

mapUrlToFilePathMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected