added more functions
This commit is contained in:
parent
48b6046a52
commit
1bebaa0f40
@ -20,4 +20,12 @@ function mfs.mmkdir(x)
|
||||
end
|
||||
end
|
||||
|
||||
function mfs.save(x,t)
|
||||
mfs.write(x,textutils.serialize(t))
|
||||
end
|
||||
|
||||
function mfs.load(x)
|
||||
return textutils.unserialize(mfs.read(x) or "{}")
|
||||
end
|
||||
|
||||
return mfs
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
["version"] = "0.1.1",
|
||||
["version"] = "0.1.2",
|
||||
["dependencies"] = {
|
||||
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user