@Summary Add Uploaded File @Description Import packages from files (uploaded using File Upload API) to the local repository. If directory specified, aptly would discover package files automatically. @Description Adding same package to local repository is not an error. @Description By default aptly w
(c *gin.Context)
| 545 | // @Failure 500 {object} Error "Error adding files" |
| 546 | // @Router /api/repos/{name}/file/{dir}/{file} [post] |
| 547 | func apiReposPackageFromFile(c *gin.Context) { |
| 548 | // redirect all work to dir method |
| 549 | apiReposPackageFromDir(c) |
| 550 | } |
| 551 | |
| 552 | // @Summary Add Uploaded Directory |
| 553 | // @Description Import packages from files (uploaded using File Upload API) to the local repository. If directory specified, aptly would discover package files automatically. |
nothing calls this directly
no test coverage detected