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

@ -18,7 +18,6 @@ import (
"log"
"net/http"
"path"
"regexp"
"strings"
"time"
@ -40,7 +39,6 @@ import (
const (
folderKind = "FOLDER"
fileKind = "FILE"
assetKind = "ASSET"
statusAvailable = "AVAILABLE"
timeFormat = time.RFC3339 // 2014-03-07T22:31:12.173Z
minSleep = 20 * time.Millisecond
@ -138,9 +136,6 @@ func (f *Fs) Features() *fs.Features {
return f.features
}
// Pattern to match a acd path
var matcher = regexp.MustCompile(`^([^/]*)(.*)$`)
// parsePath parses an acd 'url'
func parsePath(path string) (root string) {
root = strings.Trim(path, "/")