MCPcopy
hub / github.com/cli/cli / getPerm

Function getPerm

internal/zip/zip.go:75–80  ·  view source on GitHub ↗
(m os.FileMode)

Source from the content-addressed store, hash-verified

73}
74
75func getPerm(m os.FileMode) os.FileMode {
76 if m&0111 == 0 {
77 return fileMode
78 }
79 return execMode
80}

Callers 1

extractZipFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected