removeall_other.mx raw

   1  //go:build baremetal || js || wasip1 || wasip2 || wasm_unknown || nintendoswitch
   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  }
  16