summaryrefslogtreecommitdiffstats
path: root/pkg/commands/file.go
blob: 37a1dcccbd25458fd70324f04c53be646e63729b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package commands

// File : A file from git status
// duplicating this for now
type File struct {
	Name                    string
	HasStagedChanges        bool
	HasUnstagedChanges      bool
	Tracked                 bool
	Deleted                 bool
	HasMergeConflicts       bool
	HasInlineMergeConflicts bool
	DisplayString           string
	Type                    string // one of 'file', 'directory', and 'other'
	ShortStatus             string // e.g. 'AD', ' A', 'M ', '??'
}