aboutsummaryrefslogtreecommitdiff
path: root/editor/file.go
blob: 41657e127a299193ed3c4f0855f345bb137fd692 (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
}