MCPcopy Create free account
hub / github.com/electric-sql/electric / isExample

Function isExample

scripts/ci/affected-workspaces.mjs:135–140  ·  view source on GitHub ↗
(workspace)

Source from the content-addressed store, hash-verified

133}
134
135function isExample(workspace) {
136 return (
137 workspace.relativePath.startsWith(`examples/`) &&
138 existsSync(`${workspace.path}/package.json`)
139 )
140}
141
142function getChangedFiles(base) {
143 if (!base || /^0+$/.test(base)) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected