MCPcopy Index your code
hub / github.com/devspace-sh/devspace / getRelativeUpstreamPath

Method getRelativeUpstreamPath

pkg/devspace/sync/upstream.go:1073–1079  ·  view source on GitHub ↗
(uploadPath string)

Source from the content-addressed store, hash-verified

1071}
1072
1073func (u *upstream) getRelativeUpstreamPath(uploadPath string) string {
1074 if uploadPath == "" {
1075 return uploadPath
1076 }
1077
1078 return uploadPath[1:]
1079}

Callers 3

applyCreatesMethod · 0.95
filterChangesMethod · 0.95
applyRemovesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected