Rename -tus.path to -tusBasePath with default .tus
- Rename CLI flag from -tus.path to -tusBasePath
- Default to .tus (TUS enabled by default)
- Add -filer.tusBasePath option to weed server command
- Properly handle path prefix (prepend / if missing)
filerOptions.downloadMaxMBps=cmdServer.Flag.Int("filer.downloadMaxMBps",0,"download max speed for each download request, in MB per second")
filerOptions.downloadMaxMBps=cmdServer.Flag.Int("filer.downloadMaxMBps",0,"download max speed for each download request, in MB per second")
filerOptions.diskType=cmdServer.Flag.String("filer.disk","","[hdd|ssd|<tag>] hard drive or solid state drive or any tag")
filerOptions.diskType=cmdServer.Flag.String("filer.disk","","[hdd|ssd|<tag>] hard drive or solid state drive or any tag")
filerOptions.exposeDirectoryData=cmdServer.Flag.Bool("filer.exposeDirectoryData",true,"expose directory data via filer. If false, filer UI will be innaccessible.")
filerOptions.exposeDirectoryData=cmdServer.Flag.Bool("filer.exposeDirectoryData",true,"expose directory data via filer. If false, filer UI will be innaccessible.")
filerOptions.tusPath=cmdServer.Flag.String("filer.tusBasePath",".tus","TUS resumable upload endpoint base path")
serverOptions.v.port=cmdServer.Flag.Int("volume.port",8080,"volume server http listen port")
serverOptions.v.port=cmdServer.Flag.Int("volume.port",8080,"volume server http listen port")
serverOptions.v.portGrpc=cmdServer.Flag.Int("volume.port.grpc",0,"volume server grpc listen port")
serverOptions.v.portGrpc=cmdServer.Flag.Int("volume.port.grpc",0,"volume server grpc listen port")