mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-11 00:52:55 +00:00
13 lines
275 B
Go
13 lines
275 B
Go
// Copyright 2019 The Kubernetes Authors.
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package fs
|
|
|
|
import "path/filepath"
|
|
|
|
// RPath returns a rooted path, e.g. "/hey/foo" as
|
|
// opposed to "hey/foo".
|
|
func RPath(elem ...string) string {
|
|
return separator + filepath.Join(elem...)
|
|
}
|