MCPcopy
hub / github.com/ilearnio/module-alias / removePathHelper

Function removePathHelper

index.js:69–76  ·  view source on GitHub ↗
(path, targetArray)

Source from the content-addressed store, hash-verified

67}
68
69function removePathHelper (path, targetArray) {
70 if (targetArray) {
71 var index = targetArray.indexOf(path)
72 if (index !== -1) {
73 targetArray.splice(index, 1)
74 }
75 }
76}
77
78function addPath (path) {
79 var parent

Callers 1

resetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected