mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-05 19:43:44 +00:00
Add os stubs required for net/http
This commit is contained in:
committed by
Ayke
parent
62f9f61664
commit
78d030aa7a
@@ -116,6 +116,11 @@ func (f *File) Readdirnames(n int) (names []string, err error) {
|
||||
return nil, &PathError{"readdirnames", f.name, ErrNotImplemented}
|
||||
}
|
||||
|
||||
// Seek is a stub, not yet implemented
|
||||
func (f *File) Seek(offset int64, whence int) (ret int64, err error) {
|
||||
return 0, &PathError{"seek", f.name, ErrNotImplemented}
|
||||
}
|
||||
|
||||
// Stat is a stub, not yet implemented
|
||||
func (f *File) Stat() (FileInfo, error) {
|
||||
return nil, &PathError{"stat", f.name, ErrNotImplemented}
|
||||
|
||||
Reference in New Issue
Block a user