mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-04 05:18:25 +00:00 
			
		
		
		
	Add "mirror" field to repo API
This commit is contained in:
		@@ -281,6 +281,7 @@ func (repo *Repository) APIFormat(mode AccessMode) *api.Repository {
 | 
			
		||||
		Description:   repo.Description,
 | 
			
		||||
		Private:       repo.IsPrivate,
 | 
			
		||||
		Fork:          repo.IsFork,
 | 
			
		||||
		Mirror:        repo.IsMirror,
 | 
			
		||||
		HTMLURL:       repo.HTMLURL(),
 | 
			
		||||
		SSHURL:        cloneLink.SSH,
 | 
			
		||||
		CloneURL:      cloneLink.HTTPS,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user