Add option for http mount

This commit is contained in:
Ben Sarmiento
2023-10-22 16:46:36 +02:00
parent 16d6bf4f81
commit 50075df13f
6 changed files with 300 additions and 7 deletions

View File

@@ -37,7 +37,7 @@ func createMultiTorrentResponse(basePath string, torrents []torrent.Torrent) (*d
// createTorrentResponse creates a WebDAV response for a single torrent
// but it also handles the case where there are many torrents with the same name
func createSingleTorrentResponse(basePath string, torrents []torrent.Torrent, t *torrent.TorrentManager) (*dav.MultiStatus, error) {
func createSingleTorrentResponse(basePath string, torrents []torrent.Torrent) (*dav.MultiStatus, error) {
var responses []dav.Response
// initial response is the directory itself