File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
pkg/commands/git_commands Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 53
53
if err != nil {
54
54
return self .getUnfilteredStashEntries ()
55
55
}
56
- currentStashEntry = self . stashEntryFromLine (lines [i ], idx )
56
+ currentStashEntry = stashEntryFromLine (lines [i ], idx )
57
57
for i + 1 < len (lines ) && ! isAStash (lines [i + 1 ]) {
58
58
i ++
59
59
if lines [i ] == filterPath {
@@ -70,11 +70,11 @@ func (self *StashLoader) getUnfilteredStashEntries() []*models.StashEntry {
70
70
71
71
rawString , _ := self .cmd .New (cmdArgs ).DontLog ().RunWithOutput ()
72
72
return lo .Map (utils .SplitNul (rawString ), func (line string , index int ) * models.StashEntry {
73
- return self . stashEntryFromLine (line , index )
73
+ return stashEntryFromLine (line , index )
74
74
})
75
75
}
76
76
77
- func ( c * StashLoader ) stashEntryFromLine (line string , index int ) * models.StashEntry {
77
+ func stashEntryFromLine (line string , index int ) * models.StashEntry {
78
78
model := & models.StashEntry {
79
79
Name : line ,
80
80
Index : index ,
You can’t perform that action at this time.
0 commit comments