mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-08 04:53:42 +00:00
os: implement virtual filesystem support
This allows applications to mount filesystems in the os package. This is useful for mounting external flash filesystems, for example.
This commit is contained in:
committed by
Ron Evans
parent
e907db1481
commit
6bcb40fe01
@@ -31,6 +31,14 @@ func Open(path string, mode int, perm uint32) (fd int, err error) {
|
||||
return 0, ENOSYS // TODO
|
||||
}
|
||||
|
||||
func Mkdir(path string, mode uint32) (err error) {
|
||||
return ENOSYS // TODO
|
||||
}
|
||||
|
||||
func Unlink(path string) (err error) {
|
||||
return ENOSYS // TODO
|
||||
}
|
||||
|
||||
func Kill(pid int, sig Signal) (err error) {
|
||||
return ENOSYS // TODO
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user