summaryrefslogtreecommitdiffstats
path: root/contrib/go/_std_1.26/src/os/removeall_windows.go
blob: 7e91e8bf3149fd79a0d54314625dac3f7e99a27c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
// 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 newDirFile(fd syscall.Handle, name string) (*File, error) {
	return newFile(fd, name, kindOpenFile, false), nil
}