package Filesystem
|
|
|
|
import (
|
|
"path/filepath"
|
|
"strings"
|
|
|
|
"PackageManager/Variables"
|
|
)
|
|
|
|
func StripRootDir(path string) string {
|
|
return filepath.Join(
|
|
"/",
|
|
strings.TrimPrefix(
|
|
path,
|
|
Variables.RootDir,
|
|
),
|
|
)
|
|
}
|