User contributions for Quiret

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

16 January 2022

  • 23:1623:16, 16 January 2022 diff hist +583 N MTA:Eir/FileSystem/translator/setPathProcessingModeCreated page with "__NOTOC__ This function sets the path-processing-mode for the file translator. The path-processing-mode describes how paths are handled in detail during file-path consuming function calls. ==Syntax== <syntaxhighlight lang="lua"> void translator.setPathProcessingMode( string mode ) </syntaxhighlight> ==Arguments== *'''mode:''' value for the translator path-processing-mode (either '''distinguished''' or '''ambivalent_file''') ==Returns== This function returns nil. ==Ex..."
  • 23:1423:14, 16 January 2022 diff hist −72 m MTA:Eir/FileSystem/translator/getOutbreakEnabledNo edit summary
  • 23:1423:14, 16 January 2022 diff hist +661 N MTA:Eir/FileSystem/translator/getOutbreakEnabledCreated page with "__NOTOC__ This function gets the outbreak-policy of a file translator. If outbreak is enabled then file path requests outside of the translator root are allowed. Otherwise the user can only access files that are accessible from inside the translator root directory. ==Syntax== <syntaxhighlight lang="lua"> bool translator.setOutbreakEnabled () </syntaxhighlight> ==Arguments== *'''enabled:''' value for the translator outbreak-policy ==Returns== This function returns true..."
  • 23:1423:14, 16 January 2022 diff hist +603 N MTA:Eir/FileSystem/translator/setOutbreakEnabledCreated page with "__NOTOC__ This function sets the outbreak-policy of a file translator. If outbreak is enabled then file path requests outside of the translator root are allowed. Otherwise the user can only access files that are accessible from inside the translator root directory. ==Syntax== <syntaxhighlight lang="lua"> void translator.setOutbreakEnabled ( bool enabled ) </syntaxhighlight> ==Arguments== *'''enabled:''' value for the translator outbreak-policy ==Returns== This functio..."
  • 23:1123:11, 16 January 2022 diff hist +404 N MTA:Eir/FileSystem/getDoBufferAllRawCreated page with "__NOTOC__ This function returns the value of the buffering-policy for newly created raw-file handles. ==Syntax== <syntaxhighlight lang="lua"> bool fsnamespace.getDoBufferAllRaw() </syntaxhighlight> ==Returns== This function returns true if the buffering-policy is enabled, false otherwise. ==Example== <syntaxhighlight lang="lua"> -- TODO </syntaxhighlight> {{:MTA:Eir/FileSystem/namespace/functions}}" current
  • 23:1023:10, 16 January 2022 diff hist +661 N MTA:Eir/FileSystem/setDoBufferAllRawCreated page with "__NOTOC__ This function changes the raw-file buffering policy of newly created file streams. If the buffering-policy is enabled then each newly created file stream is wrapped inside of a custom FileSystem buffering handle. File stream modifications that are close to each other are batched together for optimizational purposes. ==Syntax== <syntaxhighlight lang="lua"> void fsnamespace.setDoBufferAllRaw( bool enabled ) </syntaxhighlight> ==Arguments== *'''enabled''': new v..." current
  • 23:0623:06, 16 January 2022 diff hist −40 m MTA:Eir/FileSystem/typeNo edit summary
  • 23:0623:06, 16 January 2022 diff hist +535 N MTA:Eir/FileSystem/typeCreated page with "__NOTOC__ This function returns the type of the given Eir FileSystem object. ==Syntax== <syntaxhighlight lang="lua"> string fsnamespace.type( userdata obj ) </syntaxhighlight> ==Arguments== *'''obj''': the Eir FileSystem object to retrieve the type from ==Returns== This function returns the type string of the queried object. ===Possible Return Values=== *file *file-translator ==Example== <syntaxhighlight lang="lua"> -- TODO </syntaxhighlight> {{:MTA:Eir/FileSystem/n..."
  • 23:0423:04, 16 January 2022 diff hist +2 MTA:Eir/FileSystem/topointerNo edit summary current
  • 23:0423:04, 16 January 2022 diff hist +557 N MTA:Eir/FileSystem/topointerCreated page with "__NOTOC__ This function returns the light-userdata representation of the object. This is the direct pointer into the Eir FileSystem module handle. ==Syntax== <syntaxhighlight lang="lua"> light-userdata fsnamespace.topointer( object obj ) </syntaxhighlight> ==Arguments== *'''obj''': the userdata of the Eir FileSystem Lua environment ==Returns== This function returns the light-userdata value of the internal object, false if not successful. ==Example== <syntaxhighlight..."
  • 23:0123:01, 16 January 2022 diff hist +731 N MTA:Eir/FileSystem/streamCompareCreated page with "__NOTOC__ This function compares the bytes of two streams for equality. The comparison starts from the current file seek and finishes at the end of the respective file stream. If the read count of either stream does not match the other, then this function fails. ==Syntax== <syntaxhighlight lang="lua"> bool fsnamespace.streamCompare( file left, file right ) </syntaxhighlight> ==Arguments== *'''left''': first file for equality comparison *'''right''': second file for equ..." current
  • 22:5822:58, 16 January 2022 diff hist +641 N MTA:Eir/FileSystem/pathToFilenameCreated page with "__NOTOC__ This function returns the filename and the direction portions of a filepath, seperated into two strings. ==Syntax== <syntaxhighlight lang="lua"> string, string fsnamespace.pathToFilename( string path, bool includeExtention ) </syntaxhighlight> ==Arguments== *'''path''': the file path to extract from *'''includeExtention''': if true then the filename extention is included in the result ==Returns== This function returns the filename and directory of the provid..." current
  • 22:4922:49, 16 January 2022 diff hist −6 m MTA:Eir/FileSystem/copyStreamCountNo edit summary current
  • 22:4922:49, 16 January 2022 diff hist −6 m MTA:Eir/FileSystem/copyStreamNo edit summary current
  • 22:4822:48, 16 January 2022 diff hist +40 m MTA:Eir/FileSystem/copyFileNo edit summary current
  • 22:4822:48, 16 January 2022 diff hist +40 m MTA:Eir/FileSystem/createFileIterativeNo edit summary current
  • 22:4722:47, 16 January 2022 diff hist −6 m MTA:Eir/FileSystem/createMemoryFileNo edit summary current
  • 22:4722:47, 16 January 2022 diff hist +983 N MTA:Eir/FileSystem/copyStreamCountCreated page with "__NOTOC__ This function copies data starting from a source file stream into a specified destination stream. The copy of data is performed starting from the source file seek. The copy is only performed up to a specified count of bytes. Read operations on the file streams advance the seek pointers. Thus the seek pointers stay changed after the function has completed. ==Syntax== <syntaxhighlight lang="lua"> bool fsnamespace.copyStreamCount( file src, file dst, int count )..."
  • 22:4522:45, 16 January 2022 diff hist +844 N MTA:Eir/FileSystem/copyStreamCreated page with "__NOTOC__ This function copies data starting from a source file stream into a specified destination stream. The copy of data is performed starting from the source file seek. Read operations on the file streams advance the seek pointers. Thus the seek pointers stay changed after the function has completed. ==Syntax== <syntaxhighlight lang="lua"> bool fsnamespace.copyStream( file src, file dst ) </syntaxhighlight> ==Arguments== *'''src''': source of the copy operation,..."
  • 22:4122:41, 16 January 2022 diff hist +670 N MTA:Eir/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..."
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)