mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-12 15:03:41 +00:00
os: implement and test os.MkdirTemp
This commit is contained in:
@@ -37,11 +37,6 @@ func Mkdir(path string, perm FileMode) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// MkdirTemp is a stub, it will always return an error.
|
||||
func MkdirTemp(dir, pattern string) (string, error) {
|
||||
return "", &PathError{"mkdirtemp", dir, ErrNotImplemented}
|
||||
}
|
||||
|
||||
// Remove removes a file or (empty) directory. If the operation fails, it will
|
||||
// return an error of type *PathError.
|
||||
func Remove(path string) error {
|
||||
|
||||
Reference in New Issue
Block a user