mirror of
https://github.com/Luzifer/sii.git
synced 2024-10-18 05:14:19 +00:00
Remove CanResolve as it does not work as expected
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
551cd6682d
commit
f6db209fd5
1 changed files with 0 additions and 3 deletions
|
@ -3,7 +3,6 @@ package sii
|
|||
import (
|
||||
"bytes"
|
||||
"regexp"
|
||||
"strings"
|
||||
|
||||
"github.com/pkg/errors"
|
||||
)
|
||||
|
@ -82,8 +81,6 @@ type Ptr struct {
|
|||
unit *Unit
|
||||
}
|
||||
|
||||
func (p Ptr) CanResolve() bool { return strings.HasPrefix(p.Target, ".") }
|
||||
|
||||
func (p Ptr) MarshalSII() []byte { return []byte(p.Target) }
|
||||
|
||||
func (p Ptr) Resolve() Block {
|
||||
|
|
Loading…
Reference in a new issue