Documentation ¶
Index ¶
Constants ¶
View Source
const ( OpReplace = 'r' OpDelete = 'd' OpInsert = 'i' OpEqual = 'e' )
Variables ¶
This section is empty.
Functions ¶
func Diff ¶
Diff calculates difference between Document's content and after byte sequence and returns it as document.Changes
func IsNoBlockFoundErr ¶ added in v0.3.0
Types ¶
type InvalidHclPosErr ¶
func (*InvalidHclPosErr) Error ¶
func (e *InvalidHclPosErr) Error() string
type NoBlockFoundErr ¶
func (*NoBlockFoundErr) Error ¶
func (e *NoBlockFoundErr) Error() string
type NoTokenFoundErr ¶ added in v0.3.0
func (*NoTokenFoundErr) Error ¶ added in v0.3.0
func (e *NoTokenFoundErr) Error() string
Click to show internal directories.
Click to hide internal directories.