diff options
Diffstat (limited to 'common/paths.go')
-rw-r--r-- | common/paths.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/paths.go b/common/paths.go index 93cad13c..554ce3fa 100644 --- a/common/paths.go +++ b/common/paths.go @@ -478,6 +478,10 @@ func (p OutputPath) String() string { return filepath.Join(p.config.buildDir, p.path) } +func (p OutputPath) RelPathString() string { + return p.path +} + // Join creates a new OutputPath with paths... joined with the current path. The // provided paths... may not use '..' to escape from the current path. func (p OutputPath) Join(ctx PathContext, paths ...string) OutputPath { |