rename to elgit
1 file changed, 5 insertions(+), 2 deletions(-)
changed files
M routes/util.go → routes/util.go
@@ -8,7 +8,7 @@ "os" "path/filepath" "strings" - "git.icyphox.sh/legit/git" + "go.alanpearce.eu/elgit/git" ) func isGoModule(gr *git.GitRepo) bool {@@ -101,7 +101,10 @@ return repos, err } func (d *deps) category(path string) string { - return strings.TrimPrefix(filepath.Dir(strings.TrimPrefix(path, d.c.Repo.ScanPath)), string(os.PathSeparator)) + return strings.TrimPrefix( + filepath.Dir(strings.TrimPrefix(path, d.c.Repo.ScanPath)), + string(os.PathSeparator), + ) } func setContentDisposition(w http.ResponseWriter, name string) {