summaryrefslogtreecommitdiff
path: root/src/devices/file/operations.rs
Commit message (Collapse)AuthorAge
* Refactor the file deviceBen Bridle2024-08-06
| | | | | | | | | | | | | | | | The major feature of this refactor is the creation of BedrockFilePath, a type which can be losslessly converted into an operating-system specific path or a Bedrock-style byte path. It also prevents file paths which can't be represented as Bedrock-style byte paths from being constructed, and allows the use of a base directory which acts as an inescapable sandbox. BedrockFilePath will support the creation of a virtual root directory on Windows which will allow navigation between drive letters via the standard hierarchical navigation ports. This commit has been tested on Linux, but not yet Windows. Further work is expected before the new code will work on Windows.
* Implement new file device interfaceBen Bridle2024-01-31
This is a complete redesign of the file device. The most notable addition is the ability to ascend and descend the file tree.