S&box Wiki

Sandbox.BaseFileSystem.DirectorySize

Syntax

int DirectorySize( string path, bool recursive = False )

Description

Gets the size in bytes of all the files in a directory

Arguments

string path
bool recursive False

Returns

int