diff options
author | John Olheiser <john.olheiser@gmail.com> | 2021-08-24 11:47:09 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-24 11:47:09 -0500 |
commit | 648464b504755ee96187692fbe59acc2eec5bddf (patch) | |
tree | aa25fbd8c8d9cb975d6eb53094098d5a33aa7afa /routers | |
parent | d22cb600edc2605bd8be25c9079a5ce2c6643547 (diff) | |
download | gitea-648464b504755ee96187692fbe59acc2eec5bddf.tar.gz gitea-648464b504755ee96187692fbe59acc2eec5bddf.zip |
Add bundle download for repository (#14538)
* Add bundle download
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Fix fmt
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Fix build tags
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Download specific commit
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Diffstat (limited to 'routers')
-rw-r--r-- | routers/private/manager_unix.go | 5 | ||||
-rw-r--r-- | routers/private/manager_windows.go | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/routers/private/manager_unix.go b/routers/private/manager_unix.go index 60ae9b68e8..1738c06a05 100644 --- a/routers/private/manager_unix.go +++ b/routers/private/manager_unix.go @@ -1,9 +1,10 @@ -// +build !windows - // Copyright 2020 The Gitea Authors. All rights reserved. // Use of this source code is governed by a MIT-style // license that can be found in the LICENSE file. +//go:build !windows +// +build !windows + package private import ( diff --git a/routers/private/manager_windows.go b/routers/private/manager_windows.go index f6c9b7ec8f..a8a477313f 100644 --- a/routers/private/manager_windows.go +++ b/routers/private/manager_windows.go @@ -1,9 +1,10 @@ -// +build windows - // Copyright 2020 The Gitea Authors. All rights reserved. // Use of this source code is governed by a MIT-style // license that can be found in the LICENSE file. +//go:build windows +// +build windows + package private import ( |