This commit is contained in:
Shreyas Goenka 2023-06-19 16:32:18 +02:00
parent 2e85bd3bb1
commit 84a904a355
No known key found for this signature in database
GPG Key ID: 92A07DF49CCB0622
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ type LocalClient struct {
func NewLocalClient(root string) (Filer, error) { func NewLocalClient(root string) (Filer, error) {
if runtime.GOOS == "windows" { if runtime.GOOS == "windows" {
return &LocalClient{root: WindowsRootPath{root}}, nil return &LocalClient{root: NewWindowsRootPath("/")}, nil
} }
return &LocalClient{ return &LocalClient{
root: NewUnixRootPath(root), root: NewUnixRootPath(root),