# HG changeset patch # User sqwishy # Date 1383713045 28800 # Tue Nov 05 20:44:05 2013 -0800 # Node ID 141e578677cb97fd34db16ca5ae70eaebec63187 # Parent 23f5d239f71a75d8d43d4fcce9d5ecd9178b25af removes dead code diff --git a/server.go b/server.go --- a/server.go +++ b/server.go @@ -10,13 +10,6 @@ import "code.google.com/p/go.net/websocket" import "github.com/howeyc/fsnotify" -func givePathSuffix(s string) string { - if s[len(s)-1] == os.PathSeparator { - return s - } - return s + string([]rune{os.PathSeparator}) -} - type MetronomeHandler struct { *http.ServeMux watchdir string