User contributions for Danilo

Jump to navigation Jump to search
Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)

18 January 2022

  • 23:4823:48, 18 January 2022 diff hist +710 N Modules/FileSystem/copyFileCreated page with "__NOTOC__ This function copies files between two translators. ==Syntax== <syntaxhighlight lang="lua"> bool fsnamespace.copyFile( translator srcTrans, string srcPath, translator dstTrans, string dstPath ) </syntaxhighlight> ==Arguments== *'''srcTrans:''' source translator for the file of origin *'''srcPath:''' path into the source translator *'''dstTrans:''' target translator *'''dstPath:''' path into the target translator ==Returns== This function returns true if the..."
  • 23:4623:46, 18 January 2022 diff hist +1,041 N Modules/FileSystem/createFileIterativeCreated page with "__NOTOC__ This function attempts to create a file with numeric iteration for filename collision avoidance. If a specific filename is taken then an the algorithm will try to create the next file with increased numeric insert. ==Syntax== <syntaxhighlight lang="lua"> file fsnamespace.createFileIterative( translator target, string prefix, string suffix, int maxIterations ) </syntaxhighlight> ==Arguments== *'''target''': the file translator based on which to create the file..."
  • 23:4423:44, 18 January 2022 diff hist +424 N Modules/FileSystem/createMemoryFileCreated page with "__NOTOC__ This function creates a single file that is resident entirely in system memory. ==Syntax== <syntaxhighlight lang="lua"> file fsnamespace.createMemoryFile( ) </syntaxhighlight> ==Returns== This function returns a new file object if successful, false otherwise. ==Example== <syntaxhighlight lang="lua"> -- TODO </syntaxhighlight> {{:Modules/FileSystem/namespace/functions}} {{:Modules/FileSystem/file/functions}}"
  • 23:4023:40, 18 January 2022 diff hist +3,225 N Modules/FileSystem/createTranslatorCreated page with "__NOTOC__ This function creates a FileSystem translator. A FileSystem translator represents a directory on a real or virtual filesystem. Through translators you get access to the files that reside in their directory trees. The translator returned by this function usually represents an OS filesystem directory. ==Syntax== <syntaxhighlight lang="lua"> translator fsnamespace.createTranslator( string rootPath ) </syntaxhighlight> ==Arguments== *'''rootPath:''' the absolute..."
  • 23:3223:32, 18 January 2022 diff hist +771 N Modules/FileSystem/createRAMDiskCreated page with "__NOTOC__ This function creates a FileSystem translator which is located entirely inside of MTA application memory, also known as RAM. ==Syntax== <syntaxhighlight lang="lua"> translator fsnamespace.createRAMDisk( bool caseSensitive ) </syntaxhighlight> ==Arguments== *'''caseSensitive:''' if true then all namespaces are compared case sensitively in path operations, otherwise strict character equality comparison is performed ==Returns== This function returns a new '''Fi..."

18 April 2021

24 October 2020

5 September 2020

2 September 2020

15 August 2020

10 August 2020

5 August 2020

26 July 2020

4 July 2020

3 June 2020

28 May 2020

24 May 2020

23 May 2020

13 May 2020

9 March 2020

28 February 2020

26 February 2020

5 February 2020

3 February 2020

13 January 2020

29 December 2019

25 December 2019

7 November 2019

28 October 2019

26 October 2019

15 October 2019

12 October 2019

8 October 2019

(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)