usage: require("vfs")
allows you to work with paths and create virtual filesystems with mount support
it can be used in conjunction with the ramfs library to create a temporary directory
please note that this library always uses full paths when accessing file systems,
which means that the directory selected on the filesystem does not affect its operation through this library
however, this library itself implements a mechanism for changing directories, which replaces the one that is built into filesystems

methods:

vfshost methods:

            local ramfs = require("ramfs")
local vfs = require("vfs")
local vfshost = vfs.createHost()

vfshost:mount("/", getComponent("disk")) --you can mount something to the root, or you can choose not to. at your discretion
for i = 1, 3 do
    vfshost:mount("/tmp" .. i, ramfs.create(1024 * 64).fs)
end

function onTick()
    print("file list: ")
    for k, v in ipairs(vfshost:getFileList(".")) do
        print(v)
    end

    print("folders list: ")
    for k, v in ipairs(vfshost:getFolderList(".")) do
        print(v)
    end

    print("mounts list: ")
    for k, v in ipairs(vfshost:getMountsList(".")) do
        print(v)
    end
end

_enableCallbacks = true