aboutsummaryrefslogtreecommitdiffstats
path: root/modules/git/repo_archive.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/git/repo_archive.go')
-rw-r--r--modules/git/repo_archive.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/git/repo_archive.go b/modules/git/repo_archive.go
index 07003aa6b2..83df082ad3 100644
--- a/modules/git/repo_archive.go
+++ b/modules/git/repo_archive.go
@@ -21,6 +21,8 @@ const (
ZIP ArchiveType = iota + 1
// TARGZ tar gz archive type
TARGZ
+ // BUNDLE bundle archive type
+ BUNDLE
)
// String converts an ArchiveType to string
@@ -30,6 +32,8 @@ func (a ArchiveType) String() string {
return "zip"
case TARGZ:
return "tar.gz"
+ case BUNDLE:
+ return "bundle"
}
return "unknown"
}