MCPcopy
hub / github.com/Tencent/CodeAnalysis / IsFile

Function IsFile

tools/owl/scan/scanner.go:49–51  ·  view source on GitHub ↗

IsFile check if the path is a file

(path string)

Source from the content-addressed store, hash-verified

47
48// IsFile check if the path is a file
49func IsFile(path string) bool {
50 return !IsDir(path)
51}
52
53// IsDir check if the path is a directory
54func IsDir(path string) bool {

Callers 1

ListMethod · 0.85

Calls 1

IsDirFunction · 0.85

Tested by

no test coverage detected