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:2223:22, 16 January 2022 diff hist 0 m MTA:Eir/FileSystem/translator/openNo edit summary current
  • 23:2223:22, 16 January 2022 diff hist 0 m MTA:Eir/FileSystem/translator/existsNo edit summary current
  • 23:2123:21, 16 January 2022 diff hist 0 m MTA:Eir/FileSystem/translator/createDirNo edit summary current
  • 23:2123:21, 16 January 2022 diff hist +54 m MTA:Eir/FileSystem/translator/createDirNo edit summary
  • 23:2123:21, 16 January 2022 diff hist +54 m MTA:Eir/FileSystem/translator/existsNo edit summary
  • 23:2123:21, 16 January 2022 diff hist −4 m MTA:Eir/FileSystem/translator/openNo edit summary
  • 23:2023:20, 16 January 2022 diff hist +305 m Modules/FileSystemNo edit summary
  • 23:1723:17, 16 January 2022 diff hist +470 N MTA:Eir/FileSystem/translator/getPathProcessingModeCreated page with "__NOTOC__ This function gets the path-processing-mode for the given file translator. ==Syntax== <syntaxhighlight lang="lua"> string translator.getPathProcessingMode () </syntaxhighlight> ==Returns== This function returns a string describing the current path-processing-mode of the translator. ===Possible Return Values=== *distinguished *ambivalent_file ==Example== <syntaxhighlight lang="lua"> -- TODO </syntaxhighlight> {{:MTA:Eir/FileSystem/translator/functions}}"
  • 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
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)