1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-01-25 08:26:54 +00:00
CC-Tweaked/src/main/java/dan200/computercraft/api
Jonathan Coates 0ffd5fcf85
Add fs.getCapacity and fs.attributes (#365)
- fs.getCapacity just returns the capacity of the current drive, if
   available. This will be nil on rom mounts.
 - fs.attributes returns an lfs like table of various file attributes.
   Currently, this contains:
    - access, modification, created: When this file was last accessed,
      modified and created. Time is measured in milliseconds since the
      epoch, same as os.epoch("utc") and what is accepted by os.date.
    - size: Same as fs.getSize
    - isDir: same as fs.isDir

Closes #262
2020-02-08 21:04:58 +00:00
..
filesystem Add fs.getCapacity and fs.attributes (#365) 2020-02-08 21:04:58 +00:00
lua Happy new year 2020-01-01 00:09:18 +00:00
media Happy new year 2020-01-01 00:09:18 +00:00
network Happy new year 2020-01-01 00:09:18 +00:00
peripheral Happy new year 2020-01-01 00:09:18 +00:00
permissions Happy new year 2020-01-01 00:09:18 +00:00
pocket Happy new year 2020-01-01 00:09:18 +00:00
redstone Happy new year 2020-01-01 00:09:18 +00:00
turtle Happy new year 2020-01-01 00:09:18 +00:00
AbstractTurtleUpgrade.java Happy new year 2020-01-01 00:09:18 +00:00
ComputerCraftAPI.java Happy new year 2020-01-01 00:09:18 +00:00
package-info.java Happy new year 2020-01-01 00:09:18 +00:00