This commit is contained in:
Shreyas Goenka 2023-06-15 19:36:22 +02:00
parent e101f92016
commit c66793c02b
No known key found for this signature in database
GPG Key ID: 92A07DF49CCB0622
1 changed files with 2 additions and 2 deletions

View File

@ -19,8 +19,8 @@ type LocalClient struct {
func NewLocalClient(root string) (Filer, error) {
if runtime.GOOS == "windows" && root == "/" {
// Windows paths require a drive specified. This allows use to create
// local filers at the root of a windows file system
// Windows paths require a Volume/Drive letter specified. This allows us
// to create local filers at the root of a windows file system without specifying one
return &LocalClient{root: NewRootPath("")}, nil
}
return &LocalClient{