build: remove unused code spotted by the deadcode linter

This commit is contained in:
Nick Craig-Wood
2018-05-04 15:31:55 +01:00
parent cb5bd47e61
commit 1320e84bc2
18 changed files with 15 additions and 134 deletions

View File

@ -17,7 +17,6 @@ import (
"net/http"
"net/url"
"path"
"regexp"
"strings"
"time"
@ -130,9 +129,6 @@ func (f *Fs) Features() *fs.Features {
return f.features
}
// Pattern to match a pcloud path
var matcher = regexp.MustCompile(`^([^/]*)(.*)$`)
// parsePath parses an pcloud 'url'
func parsePath(path string) (root string) {
root = strings.Trim(path, "/")