diff options
Diffstat (limited to 'vendor/github.com/tetratelabs/wazero/internal/sysfs/dirfs_unsupported.go')
-rw-r--r-- | vendor/github.com/tetratelabs/wazero/internal/sysfs/dirfs_unsupported.go | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/vendor/github.com/tetratelabs/wazero/internal/sysfs/dirfs_unsupported.go b/vendor/github.com/tetratelabs/wazero/internal/sysfs/dirfs_unsupported.go deleted file mode 100644 index 98b1a3b84..000000000 --- a/vendor/github.com/tetratelabs/wazero/internal/sysfs/dirfs_unsupported.go +++ /dev/null @@ -1,34 +0,0 @@ -//go:build tinygo - -package sysfs - -import ( - "io/fs" - - experimentalsys "github.com/tetratelabs/wazero/experimental/sys" -) - -// Link implements the same method as documented on sys.FS -func (d *dirFS) Link(oldName, newName string) experimentalsys.Errno { - return experimentalsys.ENOSYS -} - -// Unlink implements the same method as documented on sys.FS -func (d *dirFS) Unlink(path string) (err experimentalsys.Errno) { - return experimentalsys.ENOSYS -} - -// Rename implements the same method as documented on sys.FS -func (d *dirFS) Rename(from, to string) experimentalsys.Errno { - return experimentalsys.ENOSYS -} - -// Chmod implements the same method as documented on sys.FS -func (d *dirFS) Chmod(path string, perm fs.FileMode) experimentalsys.Errno { - return experimentalsys.ENOSYS -} - -// Symlink implements the same method as documented on sys.FS -func (d *dirFS) Symlink(oldName, link string) experimentalsys.Errno { - return experimentalsys.ENOSYS -} |