blob: 5cbc5fb0367a926f480b2f992a1f7b4e85a29b0e [file] [log] [blame]
// Copyright 2025 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build windows
package os
import "syscall"
func isErrNoFollow(err error) bool {
return err == syscall.ELOOP
}
func newDirFile(fd syscall.Handle, name string) (*File, error) {
return newFile(fd, name, "file", false), nil
}