aboutsummaryrefslogtreecommitdiff
path: root/editor/file.go
blob: e22c27975e3b03bc72bac69a24e399ec58687026 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package editor

import (
	"time"
)

// File holds information about a file on disk.
type File struct {
	name   string
	read   bool      // true if file has been read
	mtime  time.Time // of file when last read/written
	sha256 string    // of file when last read/written
}