github.com/tinygo-org/tinygo@v0.31.3-0.20240404173401-90b0bf646c27/src/os/removeall_other.go (about)

     1  //go:build baremetal || js || wasi || wasip1
     2  
     3  // Copyright 2009 The Go Authors. All rights reserved.
     4  // Use of this source code is governed by a BSD-style
     5  // license that can be found in the LICENSE file.
     6  
     7  package os
     8  
     9  import (
    10  	"syscall"
    11  )
    12  
    13  func removeAll(path string) error {
    14  	return &PathError{Op: "RemoveAll", Path: path, Err: syscall.ENOSYS}
    15  }