// 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 unix || wasip1

package os

import (
	
)

func isErrNoFollow( error) bool {
	return  == unix.NoFollowErrno
}

func newDirFile( int,  string) (*File, error) {
	// We use kindNoPoll because we know that this is a directory.
	return newFile(, , kindNoPoll, false), nil
}