MCPcopy Create free account
hub / github.com/OpenListTeam/OpenList / Ext

Function Ext

pkg/utils/path.go:46–48  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

44}
45
46func Ext(path string) string {
47 return strings.ToLower(SourceExt(path))
48}
49
50func SourceExt(path string) string {
51 ext := stdpath.Ext(path)

Callers 7

LinkMethod · 0.92
uploadS3Method · 0.92
LinkMethod · 0.92
canProxyFileFunction · 0.92
canProxyFunction · 0.92
ShouldProxyFunction · 0.92
GetFileTypeFunction · 0.85

Calls 1

SourceExtFunction · 0.85

Tested by

no test coverage detected