MCPcopy Create free account
hub / github.com/gokcehan/lf / isExecutable

Function isExecutable

os.go:195–197  ·  view source on GitHub ↗
(f os.FileInfo)

Source from the content-addressed store, hash-verified

193}
194
195func isExecutable(f os.FileInfo) bool {
196 return f.Mode()&0o111 != 0
197}
198
199func isHidden(f os.FileInfo, path string, hiddenfiles []string) bool {
200 hidden := false

Callers 3

getMethod · 0.70
matchExecFunction · 0.70
getMethod · 0.70

Calls 1

ModeMethod · 0.45

Tested by

no test coverage detected