(c *gin.Context)
| 174 | } |
| 175 | |
| 176 | func (sdr *scriptDrivesRoute) getAvailableDrives(c *gin.Context) { |
| 177 | result, e := sdr._loadAvailableDriveScripts(c.Request.Context(), utils.ToBool(c.Query("force"))) |
| 178 | if e != nil { |
| 179 | _ = c.Error(e) |
| 180 | return |
| 181 | } |
| 182 | SetResult(c, result) |
| 183 | } |
| 184 | |
| 185 | func (sdr *scriptDrivesRoute) getInstalledDrives(c *gin.Context) { |
| 186 | scripts, e := script.ListDriveScripts(sdr.config) |
nothing calls this directly
no test coverage detected