Commit fa95d842 authored by Matthieu Muffato's avatar Matthieu Muffato
Browse files

Added a comment

parent 53671ff5
......@@ -71,6 +71,7 @@ func (s sortableFiles) Swap (i, j int) {
s[i], s[j] = s[j], s[i]
// Return the version number defined in the URL, or the latest available eHive version
func version(r *http.Request) string {
parts := strings.SplitN(r.URL.Path, "/", 4)
version := parts[2]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment