routes: Add handler to generate tar gz file
1 file changed, 1 insertion(+), 0 deletions(-)
changed files
M routes/handler.go → routes/handler.go
@@ -39,6 +39,7 @@ mux.HandleFunc("POST /{name}", d.Multiplex) mux.HandleFunc("GET /{name}/tree/{ref}/{rest...}", d.RepoTree) mux.HandleFunc("GET /{name}/blob/{ref}/{rest...}", d.FileContent) mux.HandleFunc("GET /{name}/log/{ref}", d.Log) + mux.HandleFunc("GET /{name}/archive/{file}", d.Archive) mux.HandleFunc("GET /{name}/commit/{ref}", d.Diff) mux.HandleFunc("GET /{name}/refs/{$}", d.Refs) mux.HandleFunc("GET /{name}/{rest...}", d.Multiplex)