LogoLogo
  • Main
  • Environment Functions
  • Script Functions
  • Table Functions
  • Input
  • Hooking
  • Misc
  • FileSystem
  • Libraries
    • Console
    • Fluxus
    • Drawing
    • Debug
    • Crypt
    • Bit
Powered by GitBook
On this page
  • <void> writefile(<string> path, <string> contents)
  • <void> appendfile(<string> path, <string> contents)
  • <string> readfile(<string> path)
  • <function> loadfile(<string> path)
  • <bool> isfile(<string> path)
  • <void> makefolder(<string> path)
  • <void> delfolder(<string> path)
  • <void> delfile(<string> path)
  • <void> listfiles(<string?> path = workspace)

Was this helpful?

FileSystem

<void> writefile(<string> path, <string> contents)

This will not append the file, instead it will overwrite.

Sets path contents to the second argument.

<void> appendfile(<string> path, <string> contents)

Appends path contents to the second argument.

<string> readfile(<string> path)

Returns path contents.

<function> loadfile(<string> path)

Returns an LClosure of path contents interpreted.

<bool> isfile(<string> path)

Returns if path is a file.

<void> makefolder(<string> path)

Makes a folder named with the first argument value inside of workspace.

<void> delfolder(<string> path)

Deletes the folder named path from Fluxus workspace.

<void> delfile(<string> path)

Deletes the file named path.

<void> listfiles(<string?> path = workspace)

Returns all the files in path.

PreviousMiscNextConsole

Last updated 3 years ago

Was this helpful?