Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
49
func
IsFile(path string) bool {
50
return
!IsDir(path)
51
}
52
53
// IsDir check if the path is a directory
54
func
IsDir(path string) bool {
Callers
1
List
Method · 0.85
Calls
1
IsDir
Function · 0.85
Tested by
no test coverage detected