Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenAtomFoundation/SmartIDE
/ newLocalPath
Function
newLocalPath
cli/pkg/k8s/filespec.go:42–45 ·
view source on GitHub ↗
(fileName string)
Source
from the content-addressed store, hash-verified
40
}
41
42
func
newLocalPath(fileName string) localPath {
43
file := stripTrailingSlash(fileName)
44
return
localPath{file: file}
45
}
46
47
func
(p localPath) String() string {
48
return
p.file
Callers
5
Dir
Method · 0.85
Base
Method · 0.85
Clean
Method · 0.85
Join
Method · 0.85
StripSlashes
Method · 0.85
Calls
1
stripTrailingSlash
Function · 0.85
Tested by
no test coverage detected