Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BlockWriter ¶ added in v0.3.0
type Reader ¶
type Reader struct { FileName string Log *logrus.Logger // io Reader io.Reader Writer io.Writer // stats LineCount int // total lines processed LinesBlock int // total block lines processed BlockCount int // total blocks found BlockCurrentLine int // current block line count CurrentNodeCursor *astutil.Cursor CurrentNodeQuoteChar string CurrentNodeLeadingPadding string CurrentNodeTrailingPadding string ErrorBlocks int // options ReadOnly bool FixFinishLines bool // callbacks LineRead func(*Reader, int, string) error BlockRead blockReadFunc // Only used by the "blocks" command BlockWriter BlockWriter }
Click to show internal directories.
Click to hide internal directories.