File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -110,8 +110,8 @@ type FileDiff struct {
110
110
LinesDeleted int
111
111
}
112
112
113
- func (fileLoader * FileLoader ) getFileDiffs () (map [string ]FileDiff , error ) {
114
- diffs , err := fileLoader .gitDiffNumStat ()
113
+ func (self * FileLoader ) getFileDiffs () (map [string ]FileDiff , error ) {
114
+ diffs , err := self .gitDiffNumStat ()
115
115
if err != nil {
116
116
return nil , err
117
117
}
@@ -157,8 +157,8 @@ type FileStatus struct {
157
157
PreviousPath string
158
158
}
159
159
160
- func (fileLoader * FileLoader ) gitDiffNumStat () (string , error ) {
161
- return fileLoader .cmd .New (
160
+ func (self * FileLoader ) gitDiffNumStat () (string , error ) {
161
+ return self .cmd .New (
162
162
NewGitCmd ("diff" ).
163
163
Arg ("--numstat" ).
164
164
Arg ("-z" ).
Original file line number Diff line number Diff line change @@ -75,8 +75,8 @@ type LinesToRead struct {
75
75
Then func ()
76
76
}
77
77
78
- func (m * ViewBufferManager ) GetTaskKey () string {
79
- return m .taskKey
78
+ func (self * ViewBufferManager ) GetTaskKey () string {
79
+ return self .taskKey
80
80
}
81
81
82
82
func NewViewBufferManager (
You can’t perform that action at this time.
0 commit comments