9 lines
158 B
Go
9 lines
158 B
Go
package main
|
|
|
|
import "path/filepath"
|
|
|
|
func artifactSourcePath(work, path string) string {
|
|
rel, _ := filepath.Rel(work, path)
|
|
return filepath.ToSlash(rel)
|
|
}
|