mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add package update detection on Content tab (#13807)
This commit is contained in:
parent
ddce858c34
commit
4ee32c5441
16 changed files with 329 additions and 54 deletions
|
@ -101,7 +101,7 @@ HTTP Requests
|
|||
* `core.download_file(url, target)` (possible in async calls)
|
||||
* `url` to download, and `target` to store to
|
||||
* returns true/false
|
||||
* `minetest.get_http_api()` (possible in async calls)
|
||||
* `core.get_http_api()` (possible in async calls)
|
||||
* returns `HTTPApiTable` containing http functions.
|
||||
* The returned table contains the functions `fetch_sync`, `fetch_async` and
|
||||
`fetch_async_get` described below.
|
||||
|
@ -394,10 +394,13 @@ Helpers
|
|||
* eg. `string.trim("\n \t\tfoo bar\t ")` == `"foo bar"`
|
||||
* `core.is_yes(arg)` (possible in async calls)
|
||||
* returns whether `arg` can be interpreted as yes
|
||||
* `minetest.encode_base64(string)` (possible in async calls)
|
||||
* `core.encode_base64(string)` (possible in async calls)
|
||||
* Encodes a string in base64.
|
||||
* `minetest.decode_base64(string)` (possible in async calls)
|
||||
* `core.decode_base64(string)` (possible in async calls)
|
||||
* Decodes a string encoded in base64.
|
||||
* `core.urlencode(str)`: Encodes non-unreserved URI characters by a
|
||||
percent sign followed by two hex digits. See
|
||||
[RFC 3986, section 2.3](https://datatracker.ietf.org/doc/html/rfc3986#section-2.3).
|
||||
|
||||
|
||||
Async
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue