Add dirty flag
All checks were successful
timw4mail/gilo/pipeline/head This commit looks good

This commit is contained in:
Timothy Warren 2021-04-01 20:26:40 -04:00
parent a1f62aa8cb
commit e2f35f5e7d
3 changed files with 10 additions and 8 deletions

View File

@ -7,6 +7,7 @@ import (
) )
type document struct { type document struct {
dirty bool
filename string filename string
rows []*row rows []*row
} }
@ -15,6 +16,7 @@ func newDocument() *document {
var rows []*row var rows []*row
return &document{ return &document{
false,
"", "",
rows, rows,
} }