...

Source file src/os/removeall_unix.go

Documentation: os

     1  // Copyright 2025 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  //go:build unix || wasip1
     6  
     7  package os
     8  
     9  func newDirFile(fd int, name string) (*File, error) {
    10  	// We use kindNoPoll because we know that this is a directory.
    11  	return newFile(fd, name, kindNoPoll, false), nil
    12  }
    13  

View as plain text