mirror of
https://github.com/CPunch/Cosmo.git
synced 2025-11-10 01:20:06 +00:00
eg.
```lua
local err, file = os.open("LICENSE.md")
if err then
// do error handling stuff
end
// passing "a" to read() will read the whole file
print(file:read("a"))
```