File Manager

Introduction

The File Manager is a easy way to save, load and manage files. It helps you create, load and delete files quickly with just one call.

Methods

Method

Description

GetCustomFolderPath

Returns a custom system folder.

TrimPathEnd

Returns a trimmed path by the specified amount from end

TrimPathStart

Returns a trimmed path by the specified amount from start

DirectoryExists

Returns true if the specified directory exists

FileExists

Returns true if the specified file exists

SaveFileBinary

Saves a file in binary

TrySaveFileBinary

Returns true if it manages to save a file in binary

LoadFileBinary

Loads a file in binary

TryLoadFileBinary

Returns true if it manages to load a file in binary

SaveFileJSON

Saves a file in JSON

TrySaveFileJSON

Returns true if it manages to save a file in JSON

ReadFileJSON

Loads a file in JSON

TryReadFileJSON

Returns true if it manages to load a file in JSON

SaveFileWriter

Saves a file with File Writer

TrySaveFileWriter

Returns true if it manages to save a file with File Writer

LoadFileWriter

Loads a file with File Writer

TryLoadFileWriter

Returns true if it manages to load a file with File Writer

DeleteFile

Deletes the specified file

DeleteFolder

Deletes the specified directory with it's contents

DeleteDirectory

Deletes the specified directory, will throw an exception if it isn't empty

CreateDirectory

Creates a directory in the specified path

Last updated