VFS returns the virtual filesystem for the kernel.
()
| 2112 | |
| 2113 | // VFS returns the virtual filesystem for the kernel. |
| 2114 | func (k *Kernel) VFS() *vfs.VirtualFilesystem { |
| 2115 | return &k.vfs |
| 2116 | } |
| 2117 | |
| 2118 | // SetHostMount sets the hostfs mount. |
| 2119 | func (k *Kernel) SetHostMount(mnt *vfs.Mount) { |
no outgoing calls