MCPcopy Create free account
hub / github.com/effect-app/libs / ignoredPublishFile

Function ignoredPublishFile

scripts/stagePublishPackage.mjs:32–42  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

30}
31
32const ignoredPublishFile = (path) => {
33 const parts = path.split("/")
34 const name = parts.at(-1) ?? path
35
36 return parts.includes(".publish")
37 || name.endsWith(".bak")
38 || name.endsWith(".backup")
39 || name.endsWith(".orig")
40 || name.endsWith(".tmp")
41 || name.endsWith(".tgz")
42}
43
44const copyPackedTarballs = (dir) => {
45 if (!_fs.existsSync(dir)) return

Callers 1

Calls 2

splitMethod · 0.65
atMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…