]> Cypherpunks.ru repositories - goredo.git/blobdiff - tgt.go
Use more shorter Cwd-relative paths
[goredo.git] / tgt.go
diff --git a/tgt.go b/tgt.go
index e7f3359b09854c0010651995ddf875bb62321ac3..8e454f2c94a884dc85a826e47ba570eaf705c362 100644 (file)
--- a/tgt.go
+++ b/tgt.go
@@ -27,11 +27,6 @@ func cwdMustRel(paths ...string) string {
        return mustRel(Cwd, path.Join(paths...))
 }
 
-func cwdAndTgt(tgt string) (string, string) {
-       cwd, tgt := path.Split(tgt)
-       return mustAbs(cwd), tgt
-}
-
 type Tgt struct {
        // a/h/t resemble zsh'es :a, :h, :t modifiers
        a   string // absolute path