Improvements IO-API-for-Modules doc (fixes #3654)#5263
Open
PauloCactus wants to merge 1 commit intoMovingBlocks:developfrom
Open
Improvements IO-API-for-Modules doc (fixes #3654)#5263PauloCactus wants to merge 1 commit intoMovingBlocks:developfrom
PauloCactus wants to merge 1 commit intoMovingBlocks:developfrom
Conversation
Contributor
BenjaminAmos
left a comment
There was a problem hiding this comment.
There are a few very minor wording changes I would advise here but otherwise it is a much needed improvement.
| ================= | ||
|
|
||
| To protect the user's system, you cannot use `java.io.File` directly, however a bunch of modules may need access to files. Finally, this feature allow modules to have **limited** access to files. Basically, there are two file operations allowed, `readFile` and `writeFile`, both of them works under the `Terasology/sandbox` directory. Take a look on the instructions bellow to learn how to use them. | ||
| To protect the user's system, you cannot use `java.io.File` directly, however a bunch of modules may need access to files. Finally, this feature allow modules to have **limited** access to files. Basically, there are two file operations allowed, `readFile` and `writeFile`, both of them works under the `Terasology/sandbox` directory. This does not allow to create directories. Take a look on the instructions bellow to learn how to use them. |
Contributor
There was a problem hiding this comment.
Suggested change
| To protect the user's system, you cannot use `java.io.File` directly, however a bunch of modules may need access to files. Finally, this feature allow modules to have **limited** access to files. Basically, there are two file operations allowed, `readFile` and `writeFile`, both of them works under the `Terasology/sandbox` directory. This does not allow to create directories. Take a look on the instructions bellow to learn how to use them. | |
| To protect the user's system, you cannot use `java.io.File` directly, however a bunch of modules may need access to files. Finally, this feature allow modules to have **limited** access to files. Basically, there are two file operations allowed, `readFile` and `writeFile`, both of them works under the `Terasology/sandbox` directory. This does not allow you to create directories. Take a look on the instructions bellow to learn how to use them. |
| ``` | ||
|
|
||
| Finally, if you wrote any file, you can see them in `Terasology/sandbox` directory. :smiley: No newline at end of file | ||
| Finally, if you wrote any file, you can see them in `Terasology/sandbox` directory. :smiley: |
Contributor
There was a problem hiding this comment.
Suggested change
| Finally, if you wrote any file, you can see them in `Terasology/sandbox` directory. :smiley: | |
| Finally, if you wrote any files, you can find them in the `Terasology/sandbox` directory. :smiley: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Contains
fixes #3654
How to test
Just a doc update