- Notifications
You must be signed in to change notification settings - Fork906
Commit998724d
authored
chore: sort agent
This sorts the `contents` list alphabetically, but with directories before everything else.This is purely for UX on the Coder Desktop side, where the user only really cares about directories, and files are just for providing context in the file picker./list-directory
output (#17218)1 parent5979c32 commit998724d
2 files changed
+18
-5
lines changedLines changed: 12 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
| 10 | + | |
10 | 11 |
| |
11 | 12 |
| |
12 | 13 |
| |
| |||
103 | 104 |
| |
104 | 105 |
| |
105 | 106 |
| |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
106 | 118 |
| |
107 | 119 |
| |
108 | 120 |
| |
|
Lines changed: 6 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
137 | 137 |
| |
138 | 138 |
| |
139 | 139 |
| |
140 |
| - | |
| 140 | + | |
| 141 | + | |
141 | 142 |
| |
142 |
| - | |
143 |
| - | |
| 143 | + | |
| 144 | + | |
144 | 145 |
| |
145 | 146 |
| |
146 | 147 |
| |
147 |
| - | |
148 |
| - | |
| 148 | + | |
| 149 | + | |
149 | 150 |
| |
150 | 151 |
| |
151 | 152 |
| |
|
0 commit comments
Comments
(0)