MCPcopy 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
42func newLocalPath(fileName string) localPath {
43 file := stripTrailingSlash(fileName)
44 return localPath{file: file}
45}
46
47func (p localPath) String() string {
48 return p.file

Callers 5

DirMethod · 0.85
BaseMethod · 0.85
CleanMethod · 0.85
JoinMethod · 0.85
StripSlashesMethod · 0.85

Calls 1

stripTrailingSlashFunction · 0.85

Tested by

no test coverage detected