mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-26 22:04:32 +02:00
all: Remove unused code
Using x/tools/cmd/deadcode
This commit is contained in:
@@ -851,10 +851,6 @@ func (p *pageState) pathOrTitle() string {
|
||||
return p.Title()
|
||||
}
|
||||
|
||||
func (p *pageState) posFromPage(offset int) text.Position {
|
||||
return p.posFromInput(p.source.parsed.Input(), offset)
|
||||
}
|
||||
|
||||
func (p *pageState) posFromInput(input []byte, offset int) text.Position {
|
||||
if offset < 0 {
|
||||
return text.Position{
|
||||
|
Reference in New Issue
Block a user