chore: Remove IsXXX
		
	- Introduced in 812cfd0ad9 and removed in the same commit. No usage.
	
	
This commit is contained in:
		
					parent
					
						
							
								9a406757f5
							
						
					
				
			
			
				commit
				
					
						4cdfe27c8f
					
				
			
		
					 2 changed files with 0 additions and 32 deletions
				
			
		| 
						 | 
				
			
			@ -142,10 +142,6 @@ code.gitea.io/gitea/modules/markup/console
 | 
			
		|||
	RenderString
 | 
			
		||||
 | 
			
		||||
code.gitea.io/gitea/modules/markup/markdown
 | 
			
		||||
	IsDetails
 | 
			
		||||
	IsSummary
 | 
			
		||||
	IsTaskCheckBoxListItem
 | 
			
		||||
	IsIcon
 | 
			
		||||
	RenderRawString
 | 
			
		||||
 | 
			
		||||
code.gitea.io/gitea/modules/markup/markdown/math
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -34,13 +34,6 @@ func NewDetails() *Details {
 | 
			
		|||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// IsDetails returns true if the given node implements the Details interface,
 | 
			
		||||
// otherwise false.
 | 
			
		||||
func IsDetails(node ast.Node) bool {
 | 
			
		||||
	_, ok := node.(*Details)
 | 
			
		||||
	return ok
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Summary is a block that contains the summary of details block
 | 
			
		||||
type Summary struct {
 | 
			
		||||
	ast.BaseBlock
 | 
			
		||||
| 
						 | 
				
			
			@ -66,13 +59,6 @@ func NewSummary() *Summary {
 | 
			
		|||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// IsSummary returns true if the given node implements the Summary interface,
 | 
			
		||||
// otherwise false.
 | 
			
		||||
func IsSummary(node ast.Node) bool {
 | 
			
		||||
	_, ok := node.(*Summary)
 | 
			
		||||
	return ok
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// TaskCheckBoxListItem is a block that represents a list item of a markdown block with a checkbox
 | 
			
		||||
type TaskCheckBoxListItem struct {
 | 
			
		||||
	*ast.ListItem
 | 
			
		||||
| 
						 | 
				
			
			@ -103,13 +89,6 @@ func NewTaskCheckBoxListItem(listItem *ast.ListItem) *TaskCheckBoxListItem {
 | 
			
		|||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// IsTaskCheckBoxListItem returns true if the given node implements the TaskCheckBoxListItem interface,
 | 
			
		||||
// otherwise false.
 | 
			
		||||
func IsTaskCheckBoxListItem(node ast.Node) bool {
 | 
			
		||||
	_, ok := node.(*TaskCheckBoxListItem)
 | 
			
		||||
	return ok
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Icon is an inline for a fomantic icon
 | 
			
		||||
type Icon struct {
 | 
			
		||||
	ast.BaseInline
 | 
			
		||||
| 
						 | 
				
			
			@ -139,13 +118,6 @@ func NewIcon(name string) *Icon {
 | 
			
		|||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// IsIcon returns true if the given node implements the Icon interface,
 | 
			
		||||
// otherwise false.
 | 
			
		||||
func IsIcon(node ast.Node) bool {
 | 
			
		||||
	_, ok := node.(*Icon)
 | 
			
		||||
	return ok
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// ColorPreview is an inline for a color preview
 | 
			
		||||
type ColorPreview struct {
 | 
			
		||||
	ast.BaseInline
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue