MCPcopy Create free account
hub / github.com/ds300/patch-package / isExecutable

Function isExecutable

src/patch/apply.ts:112–115  ·  view source on GitHub ↗
(fileMode: number)

Source from the content-addressed store, hash-verified

110}
111
112function isExecutable(fileMode: number) {
113 // tslint:disable-next-line:no-bitwise
114 return (fileMode & 0b001_000_000) > 0
115}
116
117const trimRight = (s: string) => s.replace(/\s+$/, "")
118function linesAreEqual(a: string, b: string) {

Callers 1

executeEffectsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…