Closed Eeems closed 5 years ago
The help documentation for disk.readFile(filepath) and disk.removeFile(filepath) are about writing content to the file instead of what the methods actually do.
https://github.com/Relik77/factorio_computer_core/blob/9f00a27c452cf129548745abb238967b3f0a0fc7/logic/apis/disk.lua#L10
https://github.com/Relik77/factorio_computer_core/blob/9f00a27c452cf129548745abb238967b3f0a0fc7/logic/apis/disk.lua#L32
I've opened a pull request to resolve this.
The help documentation for disk.readFile(filepath) and disk.removeFile(filepath) are about writing content to the file instead of what the methods actually do.
https://github.com/Relik77/factorio_computer_core/blob/9f00a27c452cf129548745abb238967b3f0a0fc7/logic/apis/disk.lua#L10
https://github.com/Relik77/factorio_computer_core/blob/9f00a27c452cf129548745abb238967b3f0a0fc7/logic/apis/disk.lua#L32