Modules/FileSystem/file/stat: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__ This function returns immediate statistics about this file/stream object. The output should be of same structure like that of translator.stat. ==Syntax== <syntaxhighlight lang="lua"> dictionary file:stat () </syntaxhighlight> ==Returns== Returns a dictionary that contains the immediate file statistics. ==Example== todo. {{:Modules/FileSystem/file/functions}}")
 
No edit summary
Line 1: Line 1:
__NOTOC__
__NOTOC__
This function returns immediate statistics about this file/stream object. The output should be of same structure like that of [[MTA:Eir/FileSystem/translator/stat|translator.stat]].
This function returns immediate statistics about this file/stream object. The output should be of same structure like that of [[Modules/FileSystem/translator/stat|translator:stat]].


==Syntax==
==Syntax==

Revision as of 22:52, 19 January 2022

This function returns immediate statistics about this file/stream object. The output should be of same structure like that of translator:stat.

Syntax

dictionary file:stat ()

Returns

Returns a dictionary that contains the immediate file statistics.

Example

todo.

FileSystem File Functions