added more functions
This commit is contained in:
		| @@ -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"] = { | ||||
|          | ||||
|     }, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user