mirror of
https://github.com/lune-org/lune.git
synced 2024-12-12 13:00:37 +00:00
More fixes to get moonwave parsing
This commit is contained in:
parent
623af1c312
commit
a0f92227f3
2 changed files with 8 additions and 3 deletions
|
@ -82,6 +82,7 @@ local process = {}
|
|||
|
||||
--[=[
|
||||
@within Process
|
||||
@prop os OS
|
||||
@tag read_only
|
||||
|
||||
The current operating system being used.
|
||||
|
@ -96,6 +97,7 @@ process.os = (nil :: any) :: OS
|
|||
|
||||
--[=[
|
||||
@within Process
|
||||
@prop arch Arch
|
||||
@tag read_only
|
||||
|
||||
The architecture of the processor currently being used.
|
||||
|
@ -109,6 +111,7 @@ process.arch = (nil :: any) :: Arch
|
|||
|
||||
--[=[
|
||||
@within Process
|
||||
@prop args { string }
|
||||
@tag read_only
|
||||
|
||||
The arguments given when running the Lune script.
|
||||
|
@ -117,6 +120,7 @@ process.args = (nil :: any) :: { string }
|
|||
|
||||
--[=[
|
||||
@within Process
|
||||
@prop cwd string
|
||||
@tag read_only
|
||||
|
||||
The current working directory in which the Lune script is running.
|
||||
|
@ -125,7 +129,8 @@ process.cwd = (nil :: any) :: string
|
|||
|
||||
--[=[
|
||||
@within Process
|
||||
@read_write
|
||||
@prop { [string]: string? } env
|
||||
@tag read_write
|
||||
|
||||
Current environment variables for this process.
|
||||
|
||||
|
|
|
@ -90,7 +90,7 @@ end
|
|||
| `zlib` | https://www.zlib.net |
|
||||
|
||||
@param format The format to use
|
||||
@param encoded The string to compress
|
||||
@param s The string to compress
|
||||
@return The compressed string
|
||||
]=]
|
||||
function serde.compress(format: CompressDecompressFormat, s: string): string
|
||||
|
@ -113,7 +113,7 @@ end
|
|||
| `zlib` | https://www.zlib.net |
|
||||
|
||||
@param format The format to use
|
||||
@param encoded The string to decompress
|
||||
@param s The string to decompress
|
||||
@return The decompressed string
|
||||
]=]
|
||||
function serde.decompress(format: CompressDecompressFormat, s: string): string
|
||||
|
|
Loading…
Reference in a new issue