Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Mrs4s/six-cli
/ GetFileExtension
Function
GetFileExtension
models/tools.go:85–88 ·
view source on GitHub ↗
(file string)
Source
from the content-addressed store, hash-verified
83
}
84
85
func
GetFileExtension(file string) string {
86
sp := strings.Split(file,
"."
)
87
return
sp[len(sp)-1]
88
}
89
90
func
ShellMatch(str, p string) bool {
91
var
(
Callers
1
Preview
Method · 0.92
Calls
no outgoing calls
Tested by
no test coverage detected