pkg/fileserver: remove deadcode

We don't need a stub implementation as this code should never end up
being imported on non windows platforms.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
Paul Holzinger 2025-06-18 14:03:48 +02:00
parent fb5cbb9b1f
commit 6da360a223
No known key found for this signature in database
GPG Key ID: EB145DD938A3CAF2
1 changed files with 0 additions and 15 deletions

View File

@ -1,15 +0,0 @@
//go:build !windows
package fileserver
import (
"fmt"
)
func StartShares(mounts map[string]string) error {
if len(mounts) == 0 {
return nil
}
return fmt.Errorf("this platform does not support sharing directories")
}