From fa175203c9a04ebed32bbcfcf2562c2c6f7ee8ee Mon Sep 17 00:00:00 2001 From: Kayne Ruse Date: Wed, 26 Jul 2023 01:08:54 +1000 Subject: [PATCH] Tweaked docs --- repl/drive_system.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/repl/drive_system.h b/repl/drive_system.h index 3864c4a..36dfab8 100644 --- a/repl/drive_system.h +++ b/repl/drive_system.h @@ -1,14 +1,14 @@ #pragma once /*! -# toy_drive_system.h +# drive_system.h -When accessing the file system through toy (such as with the runner library), it's best practice to utilize Toy's built-in drive system - this system (tries to) prevent malicious accessing of files outside of the designated folders. It does this by causing an error when a script tries to access a parent directory. +When accessing the file system through Toy (such as with the runner library), it's best practice to utilize the drive system - this system (tries to) prevent malicious accessing of files outside of the designated folders. It does this by causing an error when a script tries to access a parent directory. To use the drive system, first you must designate specific folders which can be accessed, like so: ```c -#include "toy_drive_system.h" +#include "drive_system.h" int main(int argc, char* argv[]) { //the drive system uses a LiteralDictionary, which must be initialized with this