server: Deadcode removal. (#1517)

This commit is contained in:
Harshavardhana
2016-05-07 21:47:33 -07:00
committed by Anand Babu (AB) Periasamy
parent bf563afb80
commit 937d68202d
7 changed files with 0 additions and 52 deletions
-10
View File
@@ -57,16 +57,6 @@ func isValidPath(path string) bool {
return true
}
// isValidPrefix verifies where the prefix is a valid path.
func isValidPrefix(prefix string) bool {
// Prefix can be empty.
if prefix == "" || prefix == "/" {
return true
}
// Verify if prefix is a valid path.
return isValidPath(prefix)
}
// List of reserved words for files, includes old and new ones.
var reservedKeywords = []string{
"$multiparts",