1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-05-11 05:55:29 +00:00
silverwind
2023-10-24 04:54:59 +02:00
committed by GitHub
parent def907de7b
commit ce83609ff6
18 changed files with 105 additions and 119 deletions

View File

@ -40,9 +40,8 @@ func PathJoinRel(elem ...string) string {
return ""
} else if p == "/" {
return "."
} else {
return p[1:]
}
return p[1:]
}
// PathJoinRelX joins the path elements into a single path like PathJoinRel,